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.00152/0.00152, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001635/0.001635, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.399/1.399, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001937/0.001937, allocations: 71.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2137, allocations: 53.31 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01553/0.2293, allocations: 15.38 MB / 447.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02509/0.2543, allocations: 20.86 MB / 468.3 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.2561, allocations: 87.25 kB / 468.4 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002879/0.259, allocations: 1.262 MB / 469.6 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006582/0.2655, allocations: 2.427 MB / 472.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004001/0.2695, allocations: 1.456 MB / 473.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009688/0.2792, allocations: 6.706 MB / 480.2 MB, free: 7.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005282/0.2797, allocations: 269.7 kB / 480.5 MB, free: 6.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.2812, allocations: 1.139 MB / 481.6 MB, free: 5.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.2826, allocations: 1.141 MB / 482.8 MB, free: 4.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.2828, allocations: 76 kB / 482.8 MB, free: 4.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.2864, allocations: 1.483 MB / 484.3 MB, free: 2.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003231/0.2867, allocations: 337.5 kB / 484.6 MB, free: 2.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.288, allocations: 1.432 MB / 486.1 MB, free: 1.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004731/0.2927, allocations: 3.997 MB / 490.1 MB, free: 13.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.2927, allocations: 3.984 kB / 490.1 MB, free: 13.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2927, allocations: 4 kB / 490.1 MB, free: 13.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.123e-05/0.2928, allocations: 0 / 490.1 MB, free: 13.07 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.005818/0.2986, allocations: 3.958 MB / 494 MB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2986, allocations: 12.03 kB / 494.1 MB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004667/0.2991, allocations: 433.3 kB / 494.5 MB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003655/0.3028, allocations: 2.506 MB / 497 MB, free: 6.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.3028, allocations: 37 kB / 497 MB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.3029, allocations: 63.88 kB / 497.1 MB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.3043, allocations: 0.7265 MB / 497.8 MB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3043, allocations: 0 / 497.8 MB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.603e-05/0.3044, allocations: 24 kB / 497.8 MB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.3044, allocations: 19.98 kB / 497.9 MB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.3061, allocations: 0.8124 MB / 498.7 MB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005496/0.3116, allocations: 3.11 MB / 0.49 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.3128, allocations: 0.5231 MB / 0.4905 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009863/0.3138, allocations: 0.5657 MB / 0.4911 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03589/0.3497, allocations: 30.75 MB / 0.5211 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008122/0.3505, allocations: 369.6 kB / 0.5215 GB, free: 12.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 1.104e-05/0.3505, allocations: 3.984 kB / 0.5215 GB, free: 12.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.002441/0.353, allocations: 1.13 MB / 0.5226 GB, free: 11.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.353, allocations: 63.39 kB / 0.5226 GB, free: 11.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004073/0.3571, allocations: 3.087 MB / 0.5256 GB, free: 8.367 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.3572, allocations: 33.7 kB / 0.5257 GB, free: 8.328 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001583/0.3588, allocations: 1.582 MB / 0.5272 GB, free: 6.738 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.359, allocations: 186.5 kB / 0.5274 GB, free: 6.555 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003187/0.3593, allocations: 230.4 kB / 0.5276 GB, free: 6.324 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3595, allocations: 334 kB / 0.5279 GB, free: 5.992 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006742/0.3601, allocations: 245.8 kB / 0.5282 GB, free: 5.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009896/0.3611, allocations: 0.5942 MB / 0.5288 GB, free: 4.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.3627, allocations: 0.9013 MB / 0.5296 GB, free: 3.906 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.3627, allocations: 4 kB / 0.5296 GB, free: 3.902 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002302/0.365, allocations: 1.27 MB / 0.5309 GB, free: 2.625 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.3651, allocations: 8 kB / 0.5309 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/0.3652, allocations: 80 kB / 0.531 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/0.3652, allocations: 20 kB / 0.531 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/0.366, allocations: 204.2 kB / 0.5312 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.143e-05/0.366, allocations: 27.92 kB / 0.5312 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009165/0.3669, allocations: 107.3 kB / 0.5313 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.367, allocations: 64 kB / 0.5314 GB, free: 2.125 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.0007107/0.3678, allocations: 457.4 kB / 0.5318 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/0.3682, allocations: 421.3 kB / 0.5322 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/0.3708, allocations: 1.211 MB / 0.5334 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3708, allocations: 0 / 0.5334 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001203/0.371, allocations: 71.98 kB / 0.5335 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009226/0.3719, allocations: 0.4982 MB / 0.5339 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/0.3722, allocations: 12 kB / 0.534 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.3729, allocations: 35.89 kB / 0.534 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.373, allocations: 59.89 kB / 0.534 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00178/0.3748, allocations: 0.6881 MB / 0.5347 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002451/0.3773, allocations: 1.383 MB / 0.5361 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000577/0.3778, allocations: 225.5 kB / 0.5363 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00279/0.3806, allocations: 2.007 MB / 0.5382 GB, free: 11.02 MB / 462.1 MB Notification: Performance of Backend: time 5.11e-07/0.3806, allocations: 0 / 0.5382 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003206/0.3838, allocations: 1.453 MB / 0.5397 GB, free: 9.531 MB / 462.1 MB Notification: Performance of SimCode: time 0.008325/0.3922, allocations: 5.734 MB / 0.5453 GB, free: 3.703 MB / 462.1 MB Notification: Performance of Templates: time 0.214/0.6061, allocations: 36.04 MB / 0.5805 GB, free: 99.14 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 -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.466484900098294] Failed to read output from testmodel.py, exit status != 0: ['time', 'mp1.S.v', 'mp2.S.v', 'v.p.v'] 0.6135186720639467 0.6217416490000001 0.326820781 Calling exit ...