Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.001743/0.001743, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.002014/0.002014, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.386/1.386, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.InvertersApartRecord,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.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,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.InvertersApartRecord") [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.001896/0.001896, allocations: 71.83 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2082, allocations: 53.32 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01557/0.2237, allocations: 14.77 MB / 446.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03439/0.2581, allocations: 20.79 MB / 467.6 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002571/0.2607, allocations: 87.25 kB / 467.7 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004136/0.2648, allocations: 1.246 MB / 468.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009853/0.2747, allocations: 2.365 MB / 471.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005876/0.2806, allocations: 1.456 MB / 472.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01347/0.294, allocations: 6.586 MB / 479.4 MB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005893/0.2946, allocations: 277.1 kB / 479.6 MB, free: 7.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.2962, allocations: 1.108 MB / 480.7 MB, free: 6.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.2977, allocations: 1.11 MB / 481.8 MB, free: 5.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.2979, allocations: 76 kB / 481.9 MB, free: 5.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003578/0.3015, allocations: 1.479 MB / 483.4 MB, free: 3.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.3018, allocations: 325.6 kB / 483.7 MB, free: 3.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.303, allocations: 1.374 MB / 485.1 MB, free: 2.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004469/0.3075, allocations: 3.791 MB / 488.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3075, allocations: 0 / 488.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3075, allocations: 0 / 488.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.615e-05/0.3075, allocations: 0 / 488.9 MB, free: 14.3 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.005606/0.3131, allocations: 3.805 MB / 492.7 MB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3131, allocations: 8.031 kB / 492.7 MB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004471/0.3136, allocations: 413.4 kB / 493.1 MB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003548/0.3171, allocations: 2.457 MB / 495.6 MB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/0.3172, allocations: 37 kB / 495.6 MB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.3173, allocations: 48 kB / 495.6 MB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.3187, allocations: 0.7343 MB / 496.4 MB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.3188, allocations: 0 / 496.4 MB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.339e-05/0.3188, allocations: 20 kB / 496.4 MB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.3188, allocations: 23.98 kB / 496.4 MB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.3206, allocations: 0.8124 MB / 497.2 MB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/0.3258, allocations: 3.067 MB / 0.4886 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.327, allocations: 0.5165 MB / 0.4891 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.328, allocations: 0.5579 MB / 0.4896 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03388/0.3619, allocations: 30.76 MB / 0.5196 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007846/0.3627, allocations: 357.7 kB / 0.52 GB, free: 14.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 7.835e-06/0.3627, allocations: 3.984 kB / 0.52 GB, free: 14.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.002295/0.365, allocations: 1.107 MB / 0.5211 GB, free: 13.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.3651, allocations: 63.39 kB / 0.5211 GB, free: 12.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003548/0.3686, allocations: 2.935 MB / 0.524 GB, free: 10.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/0.3687, allocations: 29.7 kB / 0.524 GB, free: 10.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.37, allocations: 1.498 MB / 0.5255 GB, free: 8.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.3702, allocations: 182.5 kB / 0.5257 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.3705, allocations: 234.4 kB / 0.5259 GB, free: 8.086 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3707, allocations: 334 kB / 0.5262 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006278/0.3713, allocations: 245.8 kB / 0.5264 GB, free: 7.512 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009134/0.3722, allocations: 0.602 MB / 0.527 GB, free: 6.734 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.3738, allocations: 0.8896 MB / 0.5279 GB, free: 5.672 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.3738, allocations: 4 kB / 0.5279 GB, free: 5.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002133/0.3759, allocations: 1.247 MB / 0.5291 GB, free: 4.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3759, allocations: 14.97 kB / 0.5291 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/0.3761, allocations: 80 kB / 0.5292 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/0.3761, allocations: 16 kB / 0.5292 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007482/0.3768, allocations: 208 kB / 0.5294 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.922e-05/0.3769, allocations: 27.92 kB / 0.5295 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008687/0.3777, allocations: 107.3 kB / 0.5296 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.3779, allocations: 68 kB / 0.5296 GB, free: 3.906 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.0006474/0.3785, allocations: 441.4 kB / 0.53 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/0.3789, allocations: 401.5 kB / 0.5304 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/0.3815, allocations: 1.194 MB / 0.5316 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.3815, allocations: 0 / 0.5316 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001059/0.3816, allocations: 71.98 kB / 0.5317 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008614/0.3824, allocations: 494.4 kB / 0.5321 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/0.3827, allocations: 11.94 kB / 0.5321 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006529/0.3834, allocations: 31.97 kB / 0.5322 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.3835, allocations: 63.88 kB / 0.5322 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001791/0.3853, allocations: 0.6765 MB / 0.5329 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002412/0.3877, allocations: 1.37 MB / 0.5342 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005826/0.3883, allocations: 221.5 kB / 0.5344 GB, free: 14.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002409/0.3907, allocations: 1.907 MB / 0.5363 GB, free: 12.99 MB / 462.1 MB Notification: Performance of Backend: time 6.51e-07/0.3907, allocations: 0 / 0.5363 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002941/0.3937, allocations: 1.457 MB / 0.5377 GB, free: 11.5 MB / 462.1 MB Notification: Performance of SimCode: time 0.007657/0.4013, allocations: 5.495 MB / 0.5431 GB, free: 5.91 MB / 462.1 MB Notification: Performance of Templates: time 0.214/0.6153, allocations: 35.21 MB / 0.5775 GB, free: 102.9 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.526697523891926] Failed to read output from testmodel.py, exit status != 0: ['time', 'mp1.S.v', 'mp2.S.v', 'v.p.v'] 0.6226583742536604 0.630799934 0.32112463 Calling exit ...