Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009437/0.0009437, allocations: 98.61 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007719/0.0007719, allocations: 39.94 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2006, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003107/0.2037, allocations: 2.723 MB / 376.5 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007896/0.2045, allocations: 0.6985 MB / 377.2 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.2046, allocations: 2.75 kB / 377.2 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.2048, allocations: 31.83 kB / 377.3 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.2049, allocations: 77.06 kB / 377.3 MB, free: 43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.2051, allocations: 81.78 kB / 377.4 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.2054, allocations: 348.8 kB / 377.8 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.2056, allocations: 72.81 kB / 377.8 MB, free: 42.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.2058, allocations: 124.2 kB / 378 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.2059, allocations: 158.4 kB / 378.1 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.206, allocations: 22.44 kB / 378.1 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-05/0.206, allocations: 20 kB / 378.2 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.2061, allocations: 58.53 kB / 378.2 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.2062, allocations: 130.2 kB / 378.3 MB, free: 42.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.2064, allocations: 325.3 kB / 378.7 MB, free: 42.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2064, allocations: 5.344 kB / 378.7 MB, free: 42.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.2064, allocations: 0 / 378.7 MB, free: 42.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.2064, allocations: 0 / 378.7 MB, free: 42.13 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001223/0.2077, allocations: 0.6394 MB / 379.3 MB, free: 41.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2077, allocations: 8.562 kB / 379.3 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.2078, allocations: 31.09 kB / 379.3 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.208, allocations: 261 kB / 379.6 MB, free: 41.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.2081, allocations: 16.62 kB / 379.6 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.2081, allocations: 17.47 kB / 379.6 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005777/0.2087, allocations: 301.8 kB / 379.9 MB, free: 41.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2087, allocations: 1.344 kB / 379.9 MB, free: 41.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.2087, allocations: 13.11 kB / 379.9 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.2087, allocations: 5.375 kB / 379.9 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/0.2095, allocations: 268 kB / 380.2 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.2108, allocations: 1.08 MB / 381.3 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.2126, allocations: 435.9 kB / 381.7 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.2129, allocations: 144.5 kB / 381.9 MB, free: 39.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.213, allocations: 2.344 kB / 381.9 MB, free: 39.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.213, allocations: 36.81 kB / 381.9 MB, free: 39.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.213, allocations: 0 / 381.9 MB, free: 39.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0045/0.2175, allocations: 1.028 MB / 382.9 MB, free: 39.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.2175, allocations: 54.34 kB / 383 MB, free: 39.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.2177, allocations: 215.3 kB / 383.2 MB, free: 39.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.2178, allocations: 27.05 kB / 383.2 MB, free: 39.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.2178, allocations: 160 kB / 383.4 MB, free: 38.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.2179, allocations: 49.95 kB / 383.4 MB, free: 38.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.218, allocations: 40.19 kB / 383.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.84e-05/0.218, allocations: 331.7 kB / 383.8 MB, free: 38.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.2184, allocations: 104.2 kB / 383.9 MB, free: 38.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.2187, allocations: 129.9 kB / 384 MB, free: 38.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006053/0.2193, allocations: 223.6 kB / 384.2 MB, free: 38.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2193, allocations: 1.5 kB / 384.2 MB, free: 38.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002643/0.222, allocations: 0.6387 MB / 384.9 MB, free: 37.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.222, allocations: 5.812 kB / 384.9 MB, free: 37.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.222, allocations: 0 / 384.9 MB, free: 37.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006706/0.2227, allocations: 219.7 kB / 385.1 MB, free: 37.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2229, allocations: 34.48 kB / 385.1 MB, free: 37.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005358/0.2282, allocations: 2.501 MB / 387.6 MB, free: 35.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.2285, allocations: 35.81 kB / 387.7 MB, free: 35.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.2285, allocations: 12.06 kB / 387.7 MB, free: 35.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.85e-05/0.2286, allocations: 129.8 kB / 387.8 MB, free: 35.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.2287, allocations: 19.75 kB / 387.8 MB, free: 35.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.2287, allocations: 21.53 kB / 387.8 MB, free: 35.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2287, allocations: 0 / 387.8 MB, free: 35.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2287, allocations: 0 / 387.8 MB, free: 35.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2287, allocations: 3.984 kB / 387.8 MB, free: 35.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.229, allocations: 329.2 kB / 388.2 MB, free: 34.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.229, allocations: 3.984 kB / 388.2 MB, free: 34.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.2292, allocations: 39.86 kB / 388.2 MB, free: 34.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005695/0.2297, allocations: 216.7 kB / 388.4 MB, free: 34.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.2298, allocations: 7.984 kB / 388.4 MB, free: 34.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005208/0.235, allocations: 2.482 MB / 390.9 MB, free: 31.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.235, allocations: 0 / 390.9 MB, free: 31.79 MB / 298.7 MB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02124/0.2562, allocations: 7.107 MB / 398 MB, free: 24.4 MB / 298.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.