Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008322/0.008322, allocations: 96.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 193.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 51.48 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1336, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005898/0.1396, allocations: 3.089 MB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.142, allocations: 0.8314 MB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000456/0.1424, allocations: 7.938 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1428, allocations: 67.36 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000558/0.1434, allocations: 114.9 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.1442, allocations: 139.8 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.1453, allocations: 0.5307 MB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004514/0.1457, allocations: 172.3 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005331/0.1463, allocations: 211.3 kB / 378.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.1469, allocations: 263 kB / 378.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.147, allocations: 52 kB / 378.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.1473, allocations: 55.94 kB / 378.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.1474, allocations: 119.6 kB / 378.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.1478, allocations: 234.9 kB / 379 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008733/0.1487, allocations: 0.5486 MB / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1487, allocations: 0 / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.1488, allocations: 0 / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.994e-05/0.1488, allocations: 0 / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002054/0.1509, allocations: 0.7989 MB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.1509, allocations: 12.03 kB / 380.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.1511, allocations: 52.66 kB / 380.4 MB, free: 9.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/0.1517, allocations: 314.6 kB / 380.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.1517, allocations: 25.38 kB / 380.8 MB, free: 9.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.1518, allocations: 40.38 kB / 380.8 MB, free: 9.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.1531, allocations: 0.5048 MB / 381.3 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.1531, allocations: 0 / 381.3 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.1531, allocations: 16 kB / 381.3 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1532, allocations: 8 kB / 381.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.1547, allocations: 0.4957 MB / 381.8 MB, free: 8.5 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.1577, allocations: 1.675 MB / 383.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.1588, allocations: 423.6 kB / 383.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.1593, allocations: 241.4 kB / 384.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.437e-05/0.1594, allocations: 16.3 kB / 384.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.1595, allocations: 38.89 kB / 384.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.873e-06/0.1595, allocations: 0 / 384.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004885/0.1644, allocations: 1.365 MB / 385.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.1645, allocations: 162.2 kB / 385.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.1648, allocations: 263 kB / 386 MB, free: 4.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.1649, allocations: 37.7 kB / 386 MB, free: 4.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.165, allocations: 208.7 kB / 386.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1651, allocations: 142.7 kB / 386.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.1653, allocations: 78.12 kB / 386.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1654, allocations: 346.8 kB / 386.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/0.166, allocations: 184.7 kB / 387 MB, free: 3.066 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.1666, allocations: 282.5 kB / 387.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/0.1675, allocations: 422.6 kB / 387.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-05/0.1676, allocations: 4 kB / 387.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00185/0.1695, allocations: 0.682 MB / 388.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.1695, allocations: 8 kB / 388.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1695, allocations: 0 / 388.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.1709, allocations: 325.4 kB / 388.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.1713, allocations: 79.88 kB / 388.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.1726, allocations: 1.347 MB / 390.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/0.1731, allocations: 75.67 kB / 390.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.1732, allocations: 16 kB / 390.2 MB, free: 15.72 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.1734, allocations: 153.8 kB / 390.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.1735, allocations: 43.75 kB / 390.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.1756, allocations: 0.7275 MB / 391.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1756, allocations: 4 kB / 391.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1757, allocations: 0 / 391.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1757, allocations: 3.984 kB / 391.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006079/0.1763, allocations: 473 kB / 391.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1763, allocations: 4 kB / 391.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.1766, allocations: 59.89 kB / 391.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/0.1778, allocations: 317.4 kB / 391.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.1779, allocations: 8 kB / 392 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.1792, allocations: 1.366 MB / 393.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1792, allocations: 4.125 kB / 393.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.1818, allocations: 1.012 MB / 394.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.182, allocations: 112.8 kB / 394.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.1821, allocations: 8 kB / 394.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.1824, allocations: 44.02 kB / 394.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.1825, allocations: 27.95 kB / 394.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.1826, allocations: 8.188 kB / 394.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000263/0.1828, allocations: 190 kB / 394.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1829, allocations: 3.938 kB / 394.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004537/0.1833, allocations: 115.8 kB / 394.8 MB, free: 10.89 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002049/0.1835, allocations: 119.1 kB / 395 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.1849, allocations: 483.6 kB / 395.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1849, allocations: 0 / 395.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006093/0.1855, allocations: 243.8 kB / 395.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.1859, allocations: 52.7 kB / 395.7 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.1877, allocations: 0.8719 MB / 396.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.1882, allocations: 0.7956 MB / 397.4 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.1883, allocations: 34.95 kB / 397.4 MB, free: 8.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.1884, allocations: 27.44 kB / 397.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1884, allocations: 0 / 397.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of Templates: time 0.01199/0.2004, allocations: 5.966 MB / 403.4 MB, free: 2.246 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1)