Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001321/0.001321, allocations: 110.4 kB / 21.17 MB, free: 0.7812 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.001952/0.001952, allocations: 217.4 kB / 24.47 MB, free: 4.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.479/1.479, allocations: 230.4 MB / 258.1 MB, free: 8.164 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.83 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3002, allocations: 53.33 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01739/0.3176, allocations: 15.36 MB / 447.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02922/0.3468, allocations: 20.86 MB / 468.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003831/0.3507, allocations: 87.25 kB / 468.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004117/0.3548, allocations: 1.261 MB / 469.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007936/0.3627, allocations: 2.416 MB / 472 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005008/0.3677, allocations: 1.464 MB / 473.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01199/0.3797, allocations: 6.71 MB / 480.2 MB, free: 7.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007635/0.3805, allocations: 273.6 kB / 480.5 MB, free: 6.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.3824, allocations: 1.143 MB / 481.6 MB, free: 5.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.3845, allocations: 1.141 MB / 482.8 MB, free: 4.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002941/0.3848, allocations: 75.94 kB / 482.8 MB, free: 4.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004822/0.3897, allocations: 1.475 MB / 484.3 MB, free: 2.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005617/0.3902, allocations: 333.5 kB / 484.6 MB, free: 2.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002189/0.3924, allocations: 1.44 MB / 486.1 MB, free: 1.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00716/0.3996, allocations: 4.005 MB / 490.1 MB, free: 13.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3996, allocations: 0 / 490.1 MB, free: 13.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3996, allocations: 0 / 490.1 MB, free: 13.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000101/0.3997, allocations: 0 / 490.1 MB, free: 13.11 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.007747/0.4074, allocations: 3.962 MB / 494 MB, free: 9.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4075, allocations: 8.031 kB / 494 MB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/0.4081, allocations: 433.3 kB / 494.5 MB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004262/0.4123, allocations: 2.506 MB / 497 MB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.4124, allocations: 44.94 kB / 497 MB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.4125, allocations: 55.95 kB / 497.1 MB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.414, allocations: 0.7226 MB / 497.8 MB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.414, allocations: 0 / 497.8 MB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.406e-05/0.4141, allocations: 20 kB / 497.8 MB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.4141, allocations: 19.98 kB / 497.8 MB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.4158, allocations: 0.8241 MB / 498.7 MB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005962/0.4217, allocations: 3.106 MB / 0.49 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.423, allocations: 0.527 MB / 0.4905 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.424, allocations: 0.5657 MB / 0.4911 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03709/0.4611, allocations: 30.76 MB / 0.5211 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008414/0.462, allocations: 365.6 kB / 0.5215 GB, free: 12.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 3.848e-06/0.462, allocations: 4 kB / 0.5215 GB, free: 12.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.002815/0.4648, allocations: 1.13 MB / 0.5226 GB, free: 11.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.4648, allocations: 59.41 kB / 0.5226 GB, free: 11.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005034/0.4699, allocations: 3.087 MB / 0.5256 GB, free: 8.402 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-05/0.47, allocations: 33.7 kB / 0.5257 GB, free: 8.363 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001685/0.4717, allocations: 1.582 MB / 0.5272 GB, free: 6.773 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.4719, allocations: 186.5 kB / 0.5274 GB, free: 6.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.4722, allocations: 226.4 kB / 0.5276 GB, free: 6.363 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.4724, allocations: 341.9 kB / 0.5279 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/0.473, allocations: 245.8 kB / 0.5282 GB, free: 5.781 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009197/0.474, allocations: 0.5981 MB / 0.5287 GB, free: 5.008 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.4756, allocations: 0.8974 MB / 0.5296 GB, free: 3.938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.4756, allocations: 7.938 kB / 0.5296 GB, free: 3.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002565/0.4782, allocations: 1.259 MB / 0.5309 GB, free: 2.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.4782, allocations: 8 kB / 0.5309 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/0.4783, allocations: 83.98 kB / 0.5309 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.502e-05/0.4784, allocations: 20 kB / 0.531 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007767/0.4792, allocations: 195.7 kB / 0.5312 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.292e-05/0.4792, allocations: 27.88 kB / 0.5312 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.4806, allocations: 123.5 kB / 0.5313 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.4808, allocations: 60 kB / 0.5314 GB, free: 2.156 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.0009363/0.4817, allocations: 453.4 kB / 0.5318 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006832/0.4824, allocations: 421.3 kB / 0.5322 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/0.4856, allocations: 1.211 MB / 0.5334 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.4856, allocations: 4 kB / 0.5334 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4856, allocations: 0 / 0.5334 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4856, allocations: 3.984 kB / 0.5334 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/0.4903, allocations: 2.147 MB / 0.5355 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001111/0.4904, allocations: 68 kB / 0.5355 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/0.4909, allocations: 95.92 kB / 0.5356 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.4909, allocations: 4 kB / 0.5356 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.491, allocations: 31.98 kB / 0.5357 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.491, allocations: 4 kB / 0.5357 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.491, allocations: 3.938 kB / 0.5357 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.4937, allocations: 1.347 MB / 0.537 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/0.4949, allocations: 0.5022 MB / 0.5375 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004989/0.4954, allocations: 15.98 kB / 0.5375 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008261/0.4962, allocations: 23.97 kB / 0.5375 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.4964, allocations: 63.89 kB / 0.5376 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.752e-05/0.4965, allocations: 43.97 kB / 0.5376 GB, free: 11.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003734/0.5002, allocations: 2.007 MB / 0.5396 GB, free: 9.605 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5002, allocations: 0 / 0.5396 GB, free: 9.605 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001723/0.5019, allocations: 0.6048 MB / 0.5402 GB, free: 9 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.001377/0.5033, allocations: 0.7807 MB / 0.5409 GB, free: 8.207 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.5052, allocations: 0.7671 MB / 0.5417 GB, free: 7.414 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5052, allocations: 4.125 kB / 0.5417 GB, free: 7.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008635/0.5061, allocations: 423 kB / 0.5421 GB, free: 6.973 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/0.5093, allocations: 0.6471 MB / 0.5427 GB, free: 6.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008618/0.5179, allocations: 4.594 MB / 0.5472 GB, free: 1.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2167/0.7346, allocations: 1.713 MB / 0.5489 GB, free: 119.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001592/0.7362, allocations: 360.6 kB / 0.5492 GB, free: 119.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/0.7366, allocations: 151.6 kB / 0.5494 GB, free: 119.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.403e-06/0.7366, allocations: 0 / 0.5494 GB, free: 119.8 MB / 462.1 MB Notification: Performance of Templates: time 0.05028/0.7869, allocations: 32.66 MB / 0.5813 GB, free: 97.04 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.959120125044137] Failed to read output from testmodel.py, exit status != 0: ['time', 'mp1.S.v', 'mp2.S.v', 'v.p.v'] 0.7954748012125492 0.803338179 0.40139564200000005 Calling exit ...