Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001455/0.001455, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.252/1.252, allocations: 170.6 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001611/0.001611, allocations: 103.5 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.482e-05/1.484e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07276/0.07279, allocations: 38.77 MB / 301 MB, free: 3.645 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2761/0.3489, allocations: 93.31 MB / 394.3 MB, free: 7.332 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.3492, allocations: 77.95 kB / 394.4 MB, free: 7.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4163/0.7654, allocations: 124 MB / 0.5062 GB, free: 73.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.7655, allocations: 0 / 0.5062 GB, free: 73.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.931e-05/0.7656, allocations: 46.56 kB / 0.5062 GB, free: 73.36 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005201/0.7708, allocations: 2.795 MB / 0.509 GB, free: 71.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.7709, allocations: 11.17 kB / 0.509 GB, free: 71.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005804/0.7714, allocations: 416.9 kB / 0.5094 GB, free: 71.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003903/0.7754, allocations: 2.427 MB / 0.5118 GB, free: 70.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.7754, allocations: 18.28 kB / 0.5118 GB, free: 70.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.7756, allocations: 44.45 kB / 0.5118 GB, free: 70.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001014/0.7766, allocations: 0.6826 MB / 0.5125 GB, free: 70.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.7777, allocations: 0.7247 MB / 0.5132 GB, free: 69.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.7777, allocations: 0 / 0.5132 GB, free: 69.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.061e-05/0.7778, allocations: 3.469 kB / 0.5132 GB, free: 69.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.7778, allocations: 17.28 kB / 0.5132 GB, free: 69.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005424/0.7833, allocations: 3.169 MB / 0.5163 GB, free: 68.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.7838, allocations: 477.3 kB / 0.5168 GB, free: 68.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005389/0.7844, allocations: 0.5694 MB / 0.5173 GB, free: 67.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02662/0.811, allocations: 36.19 MB / 0.5527 GB, free: 31.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003809/0.8114, allocations: 305.7 kB / 0.5529 GB, free: 31.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 2.614e-06/0.8115, allocations: 0 / 0.5529 GB, free: 31.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.00113/0.8126, allocations: 0.801 MB / 0.5537 GB, free: 30.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.8127, allocations: 273 kB / 0.554 GB, free: 30.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/0.8154, allocations: 2.453 MB / 0.5564 GB, free: 27.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.8154, allocations: 29.7 kB / 0.5564 GB, free: 27.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000958/0.8164, allocations: 1.577 MB / 0.558 GB, free: 26.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.8165, allocations: 169.7 kB / 0.5581 GB, free: 25.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.8166, allocations: 0 / 0.5581 GB, free: 25.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.303e-05/0.8166, allocations: 341.9 kB / 0.5584 GB, free: 25.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.8169, allocations: 174.6 kB / 0.5586 GB, free: 25.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.8172, allocations: 0.5781 MB / 0.5592 GB, free: 24.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.8176, allocations: 264.8 kB / 0.5594 GB, free: 24.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.8177, allocations: 4 kB / 0.5594 GB, free: 24.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001332/0.819, allocations: 1.053 MB / 0.5605 GB, free: 23.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.8191, allocations: 11.91 kB / 0.5605 GB, free: 23.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.662e-05/0.8192, allocations: 83.98 kB / 0.5605 GB, free: 23.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/0.8192, allocations: 20.75 kB / 0.5606 GB, free: 23.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006925/0.8199, allocations: 219.4 kB / 0.5608 GB, free: 22.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.8199, allocations: 23.94 kB / 0.5608 GB, free: 22.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.8211, allocations: 111 kB / 0.5609 GB, free: 22.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/0.8212, allocations: 64 kB / 0.561 GB, free: 22.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.8214, allocations: 146.4 kB / 0.5611 GB, free: 22.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.8217, allocations: 403.1 kB / 0.5615 GB, free: 22.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.8241, allocations: 1.12 MB / 0.5626 GB, free: 21.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.8242, allocations: 7.984 kB / 0.5626 GB, free: 21.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.8242, allocations: 0 / 0.5626 GB, free: 21.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8242, allocations: 8 kB / 0.5626 GB, free: 21.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.8269, allocations: 2.086 MB / 0.5646 GB, free: 18.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.132e-05/0.827, allocations: 71.98 kB / 0.5647 GB, free: 18.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.8275, allocations: 107.9 kB / 0.5648 GB, free: 18.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.8275, allocations: 4 kB / 0.5648 GB, free: 18.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.8275, allocations: 31.98 kB / 0.5648 GB, free: 18.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.8275, allocations: 0 / 0.5648 GB, free: 18.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.8275, allocations: 4 kB / 0.5648 GB, free: 18.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.8287, allocations: 1.216 MB / 0.566 GB, free: 17.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007099/0.8294, allocations: 0.5117 MB / 0.5665 GB, free: 16.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003376/0.8298, allocations: 7.953 kB / 0.5665 GB, free: 16.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007562/0.8305, allocations: 40.02 kB / 0.5666 GB, free: 16.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.8306, allocations: 63.94 kB / 0.5666 GB, free: 16.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-05/0.8307, allocations: 39.92 kB / 0.5667 GB, free: 16.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00194/0.8327, allocations: 1.817 MB / 0.5685 GB, free: 14.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.8327, allocations: 0 / 0.5685 GB, free: 14.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001302/0.834, allocations: 0.6282 MB / 0.5691 GB, free: 14.35 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/0.8351, allocations: 0.9802 MB / 0.57 GB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008389/0.836, allocations: 0.6642 MB / 0.5707 GB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.836, allocations: 4 kB / 0.5707 GB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003732/0.8364, allocations: 387 kB / 0.571 GB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.8379, allocations: 0.5208 MB / 0.5716 GB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.8424, allocations: 3.25 MB / 0.5747 GB, free: 8.539 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008401/0.8432, allocations: 1.781 MB / 0.5765 GB, free: 6.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001171/0.8444, allocations: 386.7 kB / 0.5768 GB, free: 6.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.8446, allocations: 163.4 kB / 0.577 GB, free: 6.188 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.8446, allocations: 0 / 0.577 GB, free: 6.188 MB / 346.7 MB Notification: Performance of Templates: time 0.2372/1.082, allocations: 29.27 MB / 0.6056 GB, free: 80.28 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1)