Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.01071/0.01071, allocations: 103.6 kB / 15.74 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.001934/0.001934, allocations: 195.4 kB / 16.68 MB, free: 5.953 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.824/1.824, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001277/0.001278, allocations: 51.89 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09367/0.09495, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004495/0.0995, allocations: 3.081 MB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1012, allocations: 0.8391 MB / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.1015, allocations: 4 kB / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.1018, allocations: 55.38 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.1021, allocations: 114.9 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.1026, allocations: 147.7 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006257/0.1033, allocations: 0.5308 MB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003314/0.1036, allocations: 172.3 kB / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003678/0.104, allocations: 215.3 kB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003947/0.1044, allocations: 259 kB / 378.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.762e-05/0.1045, allocations: 48 kB / 378.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1046, allocations: 56 kB / 378.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1048, allocations: 115.6 kB / 378.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.105, allocations: 238.9 kB / 379 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005511/0.1056, allocations: 0.549 MB / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1056, allocations: 0 / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1056, allocations: 3.938 kB / 379.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1056, allocations: 0 / 379.6 MB, free: 10.86 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.001613/0.1072, allocations: 0.7915 MB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1073, allocations: 12.03 kB / 380.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.1074, allocations: 48.45 kB / 380.4 MB, free: 9.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.1078, allocations: 306.4 kB / 380.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.1079, allocations: 29.38 kB / 380.8 MB, free: 9.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.967e-05/0.108, allocations: 36.38 kB / 380.8 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.1091, allocations: 0.5009 MB / 381.3 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1092, allocations: 0 / 381.3 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.1092, allocations: 16 kB / 381.3 MB, free: 9.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.1092, allocations: 8 kB / 381.3 MB, free: 9.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.1106, allocations: 0.5074 MB / 381.8 MB, free: 8.508 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.002562/0.1131, allocations: 1.659 MB / 383.5 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.1143, allocations: 435.6 kB / 383.9 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005101/0.1148, allocations: 237.4 kB / 384.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.1148, allocations: 4.328 kB / 384.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.1149, allocations: 42.88 kB / 384.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.274e-06/0.1149, allocations: 0 / 384.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.00487/0.1198, allocations: 1.369 MB / 385.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.1199, allocations: 158.2 kB / 385.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.1203, allocations: 266.9 kB / 386 MB, free: 4.086 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.1203, allocations: 33.7 kB / 386 MB, free: 4.047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1205, allocations: 204.4 kB / 386.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.1206, allocations: 141.9 kB / 386.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.1208, allocations: 82.03 kB / 386.4 MB, free: 3.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1209, allocations: 342.8 kB / 386.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005337/0.1215, allocations: 188.7 kB / 386.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.1221, allocations: 282.5 kB / 387.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.1231, allocations: 414.6 kB / 387.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1231, allocations: 0 / 387.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001876/0.125, allocations: 0.6858 MB / 388.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.125, allocations: 8 kB / 388.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.125, allocations: 4.062 kB / 388.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.1264, allocations: 325.3 kB / 388.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.1268, allocations: 79.88 kB / 388.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.1281, allocations: 1.343 MB / 390.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.1286, allocations: 83.64 kB / 390.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.1287, allocations: 12 kB / 390.2 MB, free: 15.75 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.0002232/0.1289, allocations: 153.8 kB / 390.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/0.129, allocations: 31.62 kB / 390.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.1312, allocations: 0.7353 MB / 391.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1312, allocations: 4 kB / 391.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1312, allocations: 0 / 391.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1312, allocations: 0 / 391.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.1319, allocations: 468.9 kB / 391.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.669e-06/0.1319, allocations: 4 kB / 391.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.1322, allocations: 59.88 kB / 391.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/0.1335, allocations: 325.4 kB / 391.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.1335, allocations: 4 kB / 391.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.1348, allocations: 1.366 MB / 393.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1348, allocations: 0 / 393.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/0.1375, allocations: 1.012 MB / 394.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.1376, allocations: 112.7 kB / 394.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/0.1377, allocations: 15.98 kB / 394.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.1381, allocations: 39.95 kB / 394.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.1382, allocations: 19.97 kB / 394.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.1382, allocations: 15.98 kB / 394.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002679/0.1385, allocations: 194 kB / 394.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1385, allocations: 0 / 394.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000507/0.139, allocations: 115.7 kB / 394.8 MB, free: 10.93 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.0002169/0.1393, allocations: 115.2 kB / 394.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.1407, allocations: 475.7 kB / 395.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1407, allocations: 448 / 395.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006289/0.1413, allocations: 259.7 kB / 395.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.1417, allocations: 52.39 kB / 395.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.1437, allocations: 0.8571 MB / 396.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.1442, allocations: 0.7956 MB / 397.3 MB, free: 8.328 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.1444, allocations: 30.97 kB / 397.4 MB, free: 8.301 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.1445, allocations: 23.44 kB / 397.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1445, allocations: 0 / 397.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of Templates: time 0.011/0.1555, allocations: 5.962 MB / 403.3 MB, free: 2.305 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1)