Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001612/0.001612, allocations: 187.9 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.566/1.566, allocations: 194.3 MB / 203.1 MB, free: 9.25 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00177/0.00177, allocations: 114.5 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.449e-05/1.45e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08576, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.309/0.3948, allocations: 75.41 MB / 418 MB, free: 20.45 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.3951, allocations: 75.52 kB / 418.1 MB, free: 20.41 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0154/0.4105, allocations: 6.355 MB / 424.4 MB, free: 15.05 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4105, allocations: 3.281 kB / 424.4 MB, free: 15.05 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.4106, allocations: 8 kB / 424.4 MB, free: 15.04 MB / 315.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.001241/0.4118, allocations: 0.72 MB / 425.1 MB, free: 14.3 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4119, allocations: 8.031 kB / 425.1 MB, free: 14.29 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.412, allocations: 45.59 kB / 425.2 MB, free: 14.25 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.4123, allocations: 294.5 kB / 425.5 MB, free: 13.96 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.4123, allocations: 13.5 kB / 425.5 MB, free: 13.95 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.4123, allocations: 27.91 kB / 425.5 MB, free: 13.92 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004854/0.4128, allocations: 329.7 kB / 425.8 MB, free: 13.72 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.4133, allocations: 375.7 kB / 426.2 MB, free: 13.43 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4134, allocations: 0 / 426.2 MB, free: 13.43 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.4134, allocations: 0 / 426.2 MB, free: 13.43 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.4134, allocations: 8 kB / 426.2 MB, free: 13.42 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.4155, allocations: 1.344 MB / 427.6 MB, free: 12.3 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.4161, allocations: 353.1 kB / 427.9 MB, free: 12.06 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.4164, allocations: 173 kB / 428.1 MB, free: 11.96 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.4164, allocations: 15.48 kB / 428.1 MB, free: 11.95 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.4164, allocations: 38.27 kB / 428.1 MB, free: 11.9 MB / 315.1 MB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.4164, allocations: 0 / 428.1 MB, free: 11.9 MB / 315.1 MB Notification: Performance of matching and sorting (n=40): time 0.001127/0.4176, allocations: 492.8 kB / 428.6 MB, free: 11.52 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.4176, allocations: 162.2 kB / 428.8 MB, free: 11.32 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.4178, allocations: 207.2 kB / 429 MB, free: 11.14 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.4178, allocations: 25.7 kB / 429 MB, free: 11.11 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.4179, allocations: 214.1 kB / 429.2 MB, free: 10.94 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.418, allocations: 129.4 kB / 429.3 MB, free: 10.83 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.418, allocations: 0 / 429.3 MB, free: 10.83 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.4181, allocations: 345.4 kB / 429.7 MB, free: 10.5 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.4183, allocations: 116.4 kB / 429.8 MB, free: 10.43 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.4185, allocations: 206.8 kB / 430 MB, free: 10.26 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.4188, allocations: 141.4 kB / 430.1 MB, free: 10.17 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4188, allocations: 0 / 430.1 MB, free: 10.17 MB / 315.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001402/0.4202, allocations: 0.6156 MB / 430.7 MB, free: 9.656 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4202, allocations: 4 kB / 430.7 MB, free: 9.652 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4202, allocations: 8.797 kB / 430.7 MB, free: 9.645 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007606/0.421, allocations: 251.7 kB / 431 MB, free: 9.438 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.4213, allocations: 88.31 kB / 431.1 MB, free: 9.355 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000793/0.4221, allocations: 1.336 MB / 432.4 MB, free: 8.098 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.4226, allocations: 87.64 kB / 432.5 MB, free: 8.012 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.4226, allocations: 19.8 kB / 432.5 MB, free: 7.996 MB / 315.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.4227, allocations: 116.7 kB / 432.6 MB, free: 7.875 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.4228, allocations: 35.06 kB / 432.7 MB, free: 7.844 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.4242, allocations: 0.6024 MB / 433.3 MB, free: 7.367 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4242, allocations: 4 kB / 433.3 MB, free: 7.363 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.4242, allocations: 0 / 433.3 MB, free: 7.363 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.4242, allocations: 3.953 kB / 433.3 MB, free: 7.359 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.4246, allocations: 397.6 kB / 433.7 MB, free: 7.016 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4246, allocations: 0 / 433.7 MB, free: 7.016 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.4249, allocations: 67.94 kB / 433.7 MB, free: 6.949 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007044/0.4256, allocations: 259.6 kB / 434 MB, free: 6.734 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.4257, allocations: 7.875 kB / 434 MB, free: 6.73 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008375/0.4265, allocations: 1.342 MB / 435.3 MB, free: 5.469 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4265, allocations: 3.984 kB / 435.3 MB, free: 5.465 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.4282, allocations: 0.8381 MB / 436.2 MB, free: 4.805 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.4282, allocations: 117.5 kB / 436.3 MB, free: 4.672 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.4283, allocations: 3.984 kB / 436.3 MB, free: 4.668 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.4286, allocations: 52.02 kB / 436.4 MB, free: 4.617 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.4287, allocations: 23.77 kB / 436.4 MB, free: 4.598 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.4287, allocations: 16.94 kB / 436.4 MB, free: 4.586 MB / 315.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.4288, allocations: 159.9 kB / 436.5 MB, free: 4.457 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4288, allocations: 0 / 436.5 MB, free: 4.457 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0003711/0.4292, allocations: 99.78 kB / 436.6 MB, free: 4.359 MB / 315.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.4294, allocations: 115.2 kB / 436.8 MB, free: 4.238 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0006328/0.4301, allocations: 351.5 kB / 437.1 MB, free: 4.004 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4301, allocations: 0.8438 kB / 437.1 MB, free: 4.004 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.4304, allocations: 188.5 kB / 437.3 MB, free: 3.879 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.4307, allocations: 41.38 kB / 437.3 MB, free: 3.848 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009391/0.4316, allocations: 0.5592 MB / 437.9 MB, free: 3.328 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.4318, allocations: 0.8034 MB / 438.7 MB, free: 2.5 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.432, allocations: 32.03 kB / 438.7 MB, free: 2.473 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.432, allocations: 19.44 kB / 438.7 MB, free: 2.453 MB / 315.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4321, allocations: 0 / 438.7 MB, free: 2.453 MB / 315.1 MB Notification: Performance of Templates: time 0.008852/0.4409, allocations: 4.909 MB / 443.6 MB, free: 13.61 MB / 331.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1)