Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001967/0.001967, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002131/0.002131, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 59.89 kB / 373.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1049, allocations: 53.32 MB / 427.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.2195/0.3244, allocations: 26.81 MB / 454 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03141/0.3558, allocations: 22.43 MB / 476.4 MB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005971/0.3618, allocations: 177.8 kB / 476.6 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00596/0.3678, allocations: 1.782 MB / 478.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01618/0.3839, allocations: 3.256 MB / 481.6 MB, free: 5.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006058/0.39, allocations: 1.624 MB / 483.2 MB, free: 4.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02141/0.4114, allocations: 12.88 MB / 496.1 MB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.4129, allocations: 0.5 MB / 496.6 MB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004137/0.417, allocations: 2.111 MB / 498.7 MB, free: 9.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00372/0.4207, allocations: 2.108 MB / 0.4891 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00041/0.4211, allocations: 136 kB / 0.4892 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005129/0.4262, allocations: 1.537 MB / 0.4907 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007396/0.427, allocations: 0.601 MB / 0.4913 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003328/0.4303, allocations: 2.62 MB / 0.4939 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.441, allocations: 6.663 MB / 0.5004 GB, free: 11.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.441, allocations: 0 / 0.5004 GB, free: 11.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.441, allocations: 4 kB / 0.5004 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001534/0.4412, allocations: 0 / 0.5004 GB, free: 11.34 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01063/0.4518, allocations: 6.934 MB / 0.5071 GB, free: 4.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4519, allocations: 11.97 kB / 0.5071 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.453, allocations: 0.7881 MB / 0.5079 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006983/0.46, allocations: 4.652 MB / 0.5125 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.4601, allocations: 69.98 kB / 0.5125 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.4603, allocations: 99.91 kB / 0.5126 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.4628, allocations: 1.305 MB / 0.5139 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.4628, allocations: 0 / 0.5139 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.4629, allocations: 40 kB / 0.5139 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.463, allocations: 39.97 kB / 0.514 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002774/0.4657, allocations: 1.476 MB / 0.5154 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.4758, allocations: 5.621 MB / 0.5209 GB, free: 6.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.4776, allocations: 0.8718 MB / 0.5218 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.4792, allocations: 1.052 MB / 0.5228 GB, free: 4.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06649/0.5457, allocations: 61.07 MB / 0.5824 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.5468, allocations: 0.5576 MB / 0.583 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=85): time 2.395e-06/0.5468, allocations: 0 / 0.583 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85): time 0.003606/0.5504, allocations: 1.91 MB / 0.5848 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.5505, allocations: 67.97 kB / 0.5849 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007469/0.558, allocations: 5.586 MB / 0.5904 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.5581, allocations: 41.69 kB / 0.5904 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002851/0.561, allocations: 2.965 MB / 0.5933 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/0.5614, allocations: 309.5 kB / 0.5936 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005972/0.562, allocations: 427 kB / 0.594 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5621, allocations: 301.1 kB / 0.5943 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009157/0.563, allocations: 407.7 kB / 0.5947 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.5645, allocations: 1.091 MB / 0.5957 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/0.567, allocations: 1.611 MB / 0.5973 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.5671, allocations: 12 kB / 0.5973 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004014/0.5711, allocations: 2.237 MB / 0.5995 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.5711, allocations: 20.06 kB / 0.5995 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002216/0.5713, allocations: 164 kB / 0.5997 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.079e-05/0.5714, allocations: 35.94 kB / 0.5997 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.5726, allocations: 355.4 kB / 0.6 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.376e-05/0.5727, allocations: 51.8 kB / 0.6001 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.5748, allocations: 202.6 kB / 0.6003 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/0.575, allocations: 120 kB / 0.6004 GB, free: 11.41 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.001458/0.5765, allocations: 0.7082 MB / 0.6011 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/0.5775, allocations: 0.7492 MB / 0.6018 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004877/0.5824, allocations: 2.158 MB / 0.6039 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.5824, allocations: 4 kB / 0.6039 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5824, allocations: 4 kB / 0.6039 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.5824, allocations: 7.922 kB / 0.604 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006979/0.5894, allocations: 3.607 MB / 0.6075 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001887/0.5896, allocations: 140 kB / 0.6076 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007769/0.5904, allocations: 155.8 kB / 0.6078 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.5904, allocations: 3.938 kB / 0.6078 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.5905, allocations: 63.98 kB / 0.6078 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.5905, allocations: 4 kB / 0.6078 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5905, allocations: 0 / 0.6078 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003925/0.5944, allocations: 2.189 MB / 0.61 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/0.5961, allocations: 0.8553 MB / 0.6108 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005648/0.5967, allocations: 15.98 kB / 0.6108 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.5979, allocations: 31.97 kB / 0.6108 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/0.5981, allocations: 100.5 kB / 0.6109 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.5983, allocations: 68 kB / 0.611 GB, free: 428 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006103/0.6044, allocations: 3.604 MB / 0.6145 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6044, allocations: 4 kB / 0.6145 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003122/0.6075, allocations: 1.088 MB / 0.6156 GB, free: 11.75 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002114/0.6096, allocations: 1.186 MB / 0.6167 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002833/0.6124, allocations: 1.37 MB / 0.6181 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6124, allocations: 4.062 kB / 0.6181 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.6137, allocations: 0.7315 MB / 0.6188 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005395/0.6191, allocations: 1.2 MB / 0.62 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2126/0.8317, allocations: 8.263 MB / 0.628 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/0.8336, allocations: 2.589 MB / 0.6306 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002114/0.8357, allocations: 0.6899 MB / 0.6312 GB, free: 184 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/0.8361, allocations: 283.3 kB / 0.6315 GB, free: 184 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.8361, allocations: 0 / 0.6315 GB, free: 184 MB / 0.5294 GB Notification: Performance of Templates: time 0.08571/0.9218, allocations: 56.06 MB / 0.6863 GB, free: 147.8 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.896224768832326]