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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001846/0.001846, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.002029/0.002029, allocations: 215.2 kB / 23 MB, free: 5.609 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.464/1.464, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 59.89 kB / 376.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2496, allocations: 53.33 MB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.0181/0.2677, allocations: 15.37 MB / 445.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02839/0.2961, allocations: 20.86 MB / 466 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002827/0.2989, allocations: 95.19 kB / 466.1 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003733/0.3027, allocations: 1.261 MB / 467.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008508/0.3112, allocations: 2.404 MB / 469.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004957/0.3161, allocations: 1.46 MB / 471.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01151/0.3276, allocations: 6.714 MB / 478 MB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008562/0.3285, allocations: 273.6 kB / 478.2 MB, free: 6.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.3306, allocations: 1.139 MB / 479.4 MB, free: 5.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.3326, allocations: 1.137 MB / 480.5 MB, free: 4.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002509/0.3328, allocations: 76 kB / 480.6 MB, free: 4.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004218/0.337, allocations: 1.479 MB / 482.1 MB, free: 3.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005338/0.3376, allocations: 337.5 kB / 482.4 MB, free: 2.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00204/0.3396, allocations: 1.436 MB / 483.8 MB, free: 1.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008156/0.3478, allocations: 4.001 MB / 487.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3478, allocations: 4 kB / 487.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3478, allocations: 0 / 487.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.107e-05/0.3479, allocations: 0 / 487.8 MB, free: 13.27 MB / 398.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.007255/0.3551, allocations: 3.965 MB / 491.8 MB, free: 9.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.3552, allocations: 12.03 kB / 491.8 MB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005679/0.3557, allocations: 429.3 kB / 492.2 MB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003913/0.3597, allocations: 2.502 MB / 494.7 MB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.3597, allocations: 40.98 kB / 494.8 MB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.3598, allocations: 52 kB / 494.8 MB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.3613, allocations: 0.7265 MB / 495.5 MB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3613, allocations: 0 / 495.5 MB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.3614, allocations: 20 kB / 495.6 MB, free: 5.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.3614, allocations: 23.98 kB / 495.6 MB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.3631, allocations: 0.8163 MB / 496.4 MB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00578/0.3689, allocations: 3.11 MB / 499.5 MB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.3701, allocations: 0.5126 MB / 0.4883 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009833/0.3711, allocations: 0.5696 MB / 0.4889 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03633/0.4074, allocations: 30.76 MB / 0.5189 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008584/0.4082, allocations: 365.6 kB / 0.5192 GB, free: 12.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 3.487e-06/0.4082, allocations: 0 / 0.5192 GB, free: 12.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.002799/0.411, allocations: 1.13 MB / 0.5203 GB, free: 11.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.4111, allocations: 59.41 kB / 0.5204 GB, free: 11.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005036/0.4162, allocations: 3.087 MB / 0.5234 GB, free: 8.574 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.4163, allocations: 33.7 kB / 0.5235 GB, free: 8.535 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/0.4181, allocations: 1.585 MB / 0.525 GB, free: 6.941 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.4183, allocations: 182.5 kB / 0.5252 GB, free: 6.762 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.4187, allocations: 230.4 kB / 0.5254 GB, free: 6.531 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4189, allocations: 337.9 kB / 0.5257 GB, free: 6.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006321/0.4195, allocations: 241.9 kB / 0.5259 GB, free: 5.961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009687/0.4205, allocations: 0.602 MB / 0.5265 GB, free: 5.188 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.4221, allocations: 0.8974 MB / 0.5274 GB, free: 4.113 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.4221, allocations: 7.938 kB / 0.5274 GB, free: 4.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00254/0.4247, allocations: 1.262 MB / 0.5287 GB, free: 2.836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.4247, allocations: 11.94 kB / 0.5287 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/0.4248, allocations: 83.98 kB / 0.5287 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/0.4248, allocations: 20 kB / 0.5288 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/0.4256, allocations: 208.4 kB / 0.529 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.4256, allocations: 23.88 kB / 0.529 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.4267, allocations: 111.3 kB / 0.5291 GB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.4268, allocations: 64 kB / 0.5291 GB, free: 2.324 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.000828/0.4277, allocations: 461.4 kB / 0.5296 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004353/0.4281, allocations: 417.3 kB / 0.53 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/0.4308, allocations: 1.203 MB / 0.5312 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.4308, allocations: 8 kB / 0.5312 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4308, allocations: 0 / 0.5312 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4308, allocations: 0 / 0.5312 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/0.4344, allocations: 2.154 MB / 0.5333 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001117/0.4345, allocations: 68 kB / 0.5333 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.435, allocations: 95.86 kB / 0.5334 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.435, allocations: 0 / 0.5334 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/0.4351, allocations: 31.98 kB / 0.5335 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.4351, allocations: 4 kB / 0.5335 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4351, allocations: 0 / 0.5335 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.4375, allocations: 1.347 MB / 0.5348 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008079/0.4383, allocations: 0.4983 MB / 0.5353 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/0.4386, allocations: 15.94 kB / 0.5353 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006875/0.4393, allocations: 31.95 kB / 0.5353 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.4395, allocations: 63.95 kB / 0.5354 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.859e-05/0.4396, allocations: 39.98 kB / 0.5354 GB, free: 11.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002898/0.4425, allocations: 2.007 MB / 0.5374 GB, free: 9.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4425, allocations: 0 / 0.5374 GB, free: 9.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001406/0.4439, allocations: 0.6008 MB / 0.538 GB, free: 9.168 MB / 462.1 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) * Number of clocked states: 0 () * 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 (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.001184/0.4451, allocations: 0.7734 MB / 0.5387 GB, free: 8.391 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.4468, allocations: 0.7826 MB / 0.5395 GB, free: 7.582 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4468, allocations: 0 / 0.5395 GB, free: 7.582 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007966/0.4476, allocations: 427 kB / 0.5399 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.4503, allocations: 0.6434 MB / 0.5405 GB, free: 6.492 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007061/0.4573, allocations: 4.606 MB / 0.545 GB, free: 1.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.4586, allocations: 1.714 MB / 0.5467 GB, free: 100 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.2036/0.6622, allocations: 357.5 kB / 0.547 GB, free: 119.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.6626, allocations: 153.6 kB / 0.5472 GB, free: 119.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6626, allocations: 0 / 0.5472 GB, free: 119.8 MB / 462.1 MB Notification: Performance of Templates: time 0.04879/0.7114, allocations: 32.64 MB / 0.579 GB, free: 97.05 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.717823948711157]