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.006974/0.006975, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001231/0.001231, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.561/1.561, allocations: 205.1 MB / 222.5 MB, free: 4.469 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.001186/0.001186, allocations: 50.38 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.1004, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004749/0.1052, allocations: 3.085 MB / 376.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1069, allocations: 0.8392 MB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.1071, allocations: 11.88 kB / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.1074, allocations: 59.38 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.1077, allocations: 114.9 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.1081, allocations: 139.7 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005864/0.1087, allocations: 0.5347 MB / 378 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.1091, allocations: 168.3 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003065/0.1094, allocations: 215.3 kB / 378.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.1097, allocations: 259 kB / 378.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.265e-05/0.1098, allocations: 52 kB / 378.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1099, allocations: 56 kB / 378.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1101, allocations: 107.7 kB / 378.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.1103, allocations: 238.9 kB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006823/0.111, allocations: 0.5451 MB / 379.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.111, allocations: 3.938 kB / 379.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.111, allocations: 0 / 379.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.1111, allocations: 0 / 379.6 MB, free: 10.88 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.001908/0.113, allocations: 0.7954 MB / 380.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/0.1131, allocations: 8.031 kB / 380.4 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.1132, allocations: 44.47 kB / 380.4 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/0.1138, allocations: 310.4 kB / 380.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.1138, allocations: 25.38 kB / 380.7 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/0.1139, allocations: 40.38 kB / 380.8 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.115, allocations: 0.5087 MB / 381.3 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.115, allocations: 0 / 381.3 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.115, allocations: 16 kB / 381.3 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1151, allocations: 8 kB / 381.3 MB, free: 9.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.1164, allocations: 0.4957 MB / 381.8 MB, free: 8.527 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.002602/0.119, allocations: 1.67 MB / 383.5 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.1201, allocations: 427.6 kB / 383.9 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005172/0.1206, allocations: 237.4 kB / 384.1 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.1207, allocations: 12.33 kB / 384.1 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.1207, allocations: 34.89 kB / 384.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.913e-06/0.1207, allocations: 0 / 384.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004841/0.1256, allocations: 1.361 MB / 385.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/0.1257, allocations: 162.2 kB / 385.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.1261, allocations: 270.9 kB / 386 MB, free: 4.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.1261, allocations: 37.7 kB / 386 MB, free: 4.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1262, allocations: 204.4 kB / 386.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.1263, allocations: 141.9 kB / 386.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.1265, allocations: 73.98 kB / 386.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1266, allocations: 346.8 kB / 386.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.1271, allocations: 184.7 kB / 386.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005529/0.1277, allocations: 282.5 kB / 387.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000988/0.1287, allocations: 434.5 kB / 387.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1287, allocations: 0 / 387.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001842/0.1305, allocations: 0.6819 MB / 388.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1306, allocations: 4 kB / 388.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1306, allocations: 4 kB / 388.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.1319, allocations: 313.5 kB / 388.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.1323, allocations: 79.88 kB / 388.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.1335, allocations: 1.347 MB / 390.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.134, allocations: 75.53 kB / 390.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.1341, allocations: 19.98 kB / 390.1 MB, free: 15.76 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.0001973/0.1343, allocations: 153.8 kB / 390.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.84e-05/0.1343, allocations: 35.62 kB / 390.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.1365, allocations: 0.7275 MB / 391.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.1365, allocations: 4 kB / 391.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1365, allocations: 4 kB / 391.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1365, allocations: 3.984 kB / 391.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/0.1371, allocations: 468.9 kB / 391.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1371, allocations: 4 kB / 391.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.1374, allocations: 59.95 kB / 391.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.1386, allocations: 321.5 kB / 391.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.1386, allocations: 12 kB / 391.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.1398, allocations: 1.37 MB / 393.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1398, allocations: 0 / 393.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.1423, allocations: 1.012 MB / 394.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.1425, allocations: 104.7 kB / 394.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.1425, allocations: 8 kB / 394.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.1429, allocations: 52 kB / 394.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.143, allocations: 19.97 kB / 394.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.143, allocations: 12 kB / 394.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002459/0.1433, allocations: 193.9 kB / 394.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1433, allocations: 0 / 394.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000429/0.1437, allocations: 111.7 kB / 394.8 MB, free: 10.95 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.0001889/0.1439, allocations: 115.2 kB / 394.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.1452, allocations: 479.6 kB / 395.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1453, allocations: 0 / 395.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.1459, allocations: 255.7 kB / 395.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.1463, allocations: 48.75 kB / 395.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.1479, allocations: 0.8532 MB / 396.5 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1482, allocations: 0.7995 MB / 397.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.1484, allocations: 30.97 kB / 397.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.1485, allocations: 27.42 kB / 397.4 MB, free: 8.293 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1485, allocations: 0 / 397.4 MB, free: 8.293 MB / 334.1 MB Notification: Performance of Templates: time 0.01026/0.1587, allocations: 5.97 MB / 403.3 MB, free: 2.312 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)