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.001418/0.001418, 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.001482/0.001482, 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.508/1.508, allocations: 230.2 MB / 254.5 MB, free: 15.22 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.001899/0.001899, allocations: 59.91 kB / 373.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.107, allocations: 53.31 MB / 427.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.2087/0.3157, allocations: 15.37 MB / 442.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0278/0.3435, allocations: 20.84 MB / 463.3 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004357/0.3479, allocations: 89.69 kB / 463.4 MB, free: 3.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004646/0.3525, allocations: 1.269 MB / 464.7 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01284/0.3653, allocations: 2.374 MB / 467.1 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007427/0.3728, allocations: 1.435 MB / 468.5 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01355/0.3863, allocations: 6.72 MB / 475.2 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008727/0.3872, allocations: 271.1 kB / 475.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002785/0.39, allocations: 1.142 MB / 476.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003088/0.3931, allocations: 1.139 MB / 477.8 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004251/0.3935, allocations: 74.38 kB / 477.8 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006473/0.4, allocations: 1.48 MB / 479.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006034/0.4006, allocations: 341.5 kB / 479.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002818/0.4034, allocations: 1.43 MB / 481.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.4134, allocations: 4.004 MB / 485.1 MB, free: 6.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4135, allocations: 4 kB / 485.1 MB, free: 6.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4135, allocations: 0 / 485.1 MB, free: 6.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001212/0.4136, allocations: 0 / 485.1 MB, free: 6.883 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.007084/0.4207, allocations: 3.958 MB / 489.1 MB, free: 2.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.4207, allocations: 19.91 kB / 489.1 MB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000728/0.4214, allocations: 433.3 kB / 489.5 MB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004093/0.4255, allocations: 2.51 MB / 492 MB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.4256, allocations: 33 kB / 492 MB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.4257, allocations: 59.09 kB / 492.1 MB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.4273, allocations: 0.7226 MB / 492.8 MB, free: 15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.4273, allocations: 0 / 492.8 MB, free: 15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.4274, allocations: 27.98 kB / 492.8 MB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.4274, allocations: 23.98 kB / 492.9 MB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.4291, allocations: 0.8085 MB / 493.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006116/0.4352, allocations: 3.099 MB / 496.8 MB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.4365, allocations: 0.5204 MB / 497.3 MB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.4376, allocations: 0.5696 MB / 497.9 MB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03409/0.4717, allocations: 30.77 MB / 0.5162 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008182/0.4725, allocations: 365.6 kB / 0.5166 GB, free: 6.473 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.144e-06/0.4725, allocations: 0 / 0.5166 GB, free: 6.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.00254/0.4751, allocations: 1.126 MB / 0.5177 GB, free: 5.336 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.4751, allocations: 59.41 kB / 0.5178 GB, free: 5.266 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004116/0.4792, allocations: 3.087 MB / 0.5208 GB, free: 2.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/0.4793, allocations: 37.69 kB / 0.5208 GB, free: 2.137 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.4808, allocations: 1.582 MB / 0.5223 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.481, allocations: 186.6 kB / 0.5225 GB, free: 372 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/0.4813, allocations: 226.4 kB / 0.5227 GB, free: 140 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.4815, allocations: 337.9 kB / 0.5231 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006163/0.4821, allocations: 241.9 kB / 0.5233 GB, free: 15.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009717/0.4831, allocations: 0.6059 MB / 0.5239 GB, free: 14.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.4847, allocations: 0.8935 MB / 0.5248 GB, free: 13.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.4847, allocations: 7.938 kB / 0.5248 GB, free: 13.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002357/0.4871, allocations: 1.262 MB / 0.526 GB, free: 12.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.4871, allocations: 11.98 kB / 0.526 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/0.4872, allocations: 80 kB / 0.5261 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/0.4873, allocations: 20 kB / 0.5261 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/0.488, allocations: 204.2 kB / 0.5263 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-05/0.488, allocations: 28.48 kB / 0.5263 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.4891, allocations: 115.3 kB / 0.5264 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.4892, allocations: 60 kB / 0.5265 GB, free: 11.94 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.0008088/0.49, allocations: 453.5 kB / 0.5269 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004393/0.4905, allocations: 417.3 kB / 0.5273 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/0.4932, allocations: 1.222 MB / 0.5285 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.4932, allocations: 8 kB / 0.5285 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4932, allocations: 0.5625 kB / 0.5285 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4932, allocations: 3.984 kB / 0.5285 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003551/0.4967, allocations: 2.135 MB / 0.5306 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001005/0.4968, allocations: 72.06 kB / 0.5307 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004962/0.4973, allocations: 96.42 kB / 0.5308 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.4973, allocations: 3.984 kB / 0.5308 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.4974, allocations: 28 kB / 0.5308 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.4974, allocations: 5.438 kB / 0.5308 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4974, allocations: 0 / 0.5308 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.4999, allocations: 1.354 MB / 0.5321 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007608/0.5006, allocations: 0.5021 MB / 0.5326 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002924/0.5009, allocations: 15.98 kB / 0.5326 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000724/0.5016, allocations: 27.97 kB / 0.5327 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.5018, allocations: 63.88 kB / 0.5327 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/0.5019, allocations: 40.06 kB / 0.5328 GB, free: 5.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002744/0.5046, allocations: 2.007 MB / 0.5347 GB, free: 3.383 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5046, allocations: 0 / 0.5347 GB, free: 3.383 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001392/0.506, allocations: 0.6008 MB / 0.5353 GB, free: 2.781 MB / 446.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.001224/0.5072, allocations: 0.7723 MB / 0.5361 GB, free: 2.004 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.509, allocations: 0.7749 MB / 0.5368 GB, free: 1.203 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.509, allocations: 0 / 0.5368 GB, free: 1.203 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008132/0.5098, allocations: 427 kB / 0.5372 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/0.5124, allocations: 0.648 MB / 0.5379 GB, free: 120 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006996/0.5194, allocations: 4.606 MB / 0.5424 GB, free: 11.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.5207, allocations: 1.706 MB / 0.544 GB, free: 9.738 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001051/0.5218, allocations: 357.3 kB / 0.5444 GB, free: 9.383 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.522, allocations: 151.4 kB / 0.5445 GB, free: 9.234 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.522, allocations: 0 / 0.5445 GB, free: 9.234 MB / 462.1 MB Notification: Performance of Templates: time 0.06043/0.5825, allocations: 32.43 MB / 0.5762 GB, free: 8.91 MB / 494.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.742173780687153]