Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001663/0.001663, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001963/0.001963, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2289, allocations: 50.55 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.0138/0.2428, allocations: 15.3 MB / 425.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02317/0.266, allocations: 20.78 MB / 446 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.2681, allocations: 91.25 kB / 446.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.2709, allocations: 1.261 MB / 447.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006358/0.2773, allocations: 2.347 MB / 449.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003924/0.2812, allocations: 1.443 MB / 451.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009327/0.2906, allocations: 6.683 MB / 457.8 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006902/0.2913, allocations: 473.6 kB / 458.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.2926, allocations: 1.135 MB / 459.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.2937, allocations: 1.153 MB / 460.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.2939, allocations: 72 kB / 460.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003588/0.2975, allocations: 1.475 MB / 462.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.2978, allocations: 337.5 kB / 462.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.2991, allocations: 1.432 MB / 463.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.3033, allocations: 3.985 MB / 467.9 MB, free: 7.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3033, allocations: 0 / 467.9 MB, free: 7.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3033, allocations: 0 / 467.9 MB, free: 7.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.788e-05/0.3033, allocations: 0 / 467.9 MB, free: 7.355 MB / 382.1 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.005208/0.3086, allocations: 3.818 MB / 471.7 MB, free: 3.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3086, allocations: 8.031 kB / 471.7 MB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003981/0.309, allocations: 418.9 kB / 472.1 MB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003408/0.3124, allocations: 2.471 MB / 474.6 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.3125, allocations: 40.94 kB / 474.6 MB, free: 464 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.3126, allocations: 55.89 kB / 474.7 MB, free: 408 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.3139, allocations: 0.7343 MB / 475.4 MB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.314, allocations: 3.984 kB / 475.4 MB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.971e-05/0.314, allocations: 16 kB / 475.4 MB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.3141, allocations: 23.98 kB / 475.5 MB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.3156, allocations: 0.8124 MB / 476.3 MB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004891/0.3205, allocations: 3.098 MB / 479.4 MB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.3217, allocations: 0.5713 MB / 479.9 MB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009891/0.3227, allocations: 0.6438 MB / 480.6 MB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02883/0.3516, allocations: 30.77 MB / 0.4994 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007281/0.3523, allocations: 357.7 kB / 0.4997 GB, free: 7.008 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.815e-06/0.3523, allocations: 0 / 0.4997 GB, free: 7.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.002113/0.3545, allocations: 1.112 MB / 0.5008 GB, free: 5.883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.3545, allocations: 59.34 kB / 0.5008 GB, free: 5.812 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/0.358, allocations: 3.087 MB / 0.5039 GB, free: 2.727 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.358, allocations: 33.7 kB / 0.5039 GB, free: 2.688 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.3594, allocations: 1.573 MB / 0.5054 GB, free: 1.105 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.3595, allocations: 169.7 kB / 0.5056 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.3598, allocations: 234.1 kB / 0.5058 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3599, allocations: 338 kB / 0.5061 GB, free: 376 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005657/0.3605, allocations: 241.8 kB / 0.5064 GB, free: 136 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007914/0.3613, allocations: 0.5981 MB / 0.507 GB, free: 15.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.3627, allocations: 0.8974 MB / 0.5078 GB, free: 14.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.3627, allocations: 4 kB / 0.5078 GB, free: 14.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001987/0.3647, allocations: 1.253 MB / 0.5091 GB, free: 13.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3647, allocations: 10.81 kB / 0.5091 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.3649, allocations: 83.98 kB / 0.5091 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.3649, allocations: 20 kB / 0.5092 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007056/0.3656, allocations: 196 kB / 0.5094 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.3656, allocations: 31.91 kB / 0.5094 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009299/0.3666, allocations: 111 kB / 0.5095 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.607e-05/0.3667, allocations: 67.98 kB / 0.5096 GB, free: 12.52 MB / 446.1 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 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006317/0.3673, allocations: 457.3 kB / 0.51 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.3676, allocations: 395.1 kB / 0.5104 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.3701, allocations: 1.211 MB / 0.5115 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3701, allocations: 4 kB / 0.5116 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.27e-05/0.3702, allocations: 71.98 kB / 0.5116 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008299/0.3711, allocations: 492 kB / 0.5121 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.3714, allocations: 8 kB / 0.5121 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/0.3721, allocations: 47.89 kB / 0.5121 GB, free: 9.805 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.3722, allocations: 63.83 kB / 0.5122 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001643/0.3739, allocations: 0.6765 MB / 0.5129 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002192/0.3761, allocations: 1.365 MB / 0.5142 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005401/0.3766, allocations: 253.5 kB / 0.5144 GB, free: 7.426 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002385/0.379, allocations: 2.007 MB / 0.5164 GB, free: 5.426 MB / 446.1 MB Notification: Performance of Backend: time 5.11e-07/0.379, allocations: 0 / 0.5164 GB, free: 5.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002868/0.3819, allocations: 1.476 MB / 0.5178 GB, free: 3.918 MB / 446.1 MB Notification: Performance of SimCode: time 0.007262/0.3892, allocations: 5.626 MB / 0.5233 GB, free: 14.21 MB / 462.1 MB Notification: Performance of Templates: time 0.2238/0.6129, allocations: 35.46 MB / 0.558 GB, free: 118.4 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1)