Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001312/0.001312, allocations: 107 kB / 19.8 MB, free: 2.492 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.001462/0.001462, allocations: 221.5 kB / 23 MB, free: 5.59 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.405/1.405, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.InvertersApartRecord,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.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_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 64.12 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2318, allocations: 53.33 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01601/0.2478, allocations: 14.77 MB / 444.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02621/0.2741, allocations: 20.78 MB / 465.3 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.2764, allocations: 87.25 kB / 465.4 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003348/0.2797, allocations: 1.238 MB / 466.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008735/0.2885, allocations: 2.369 MB / 469 MB, free: 128 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004682/0.2932, allocations: 1.448 MB / 470.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01048/0.3036, allocations: 6.594 MB / 477.1 MB, free: 8.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006429/0.3043, allocations: 273.1 kB / 477.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.306, allocations: 1.104 MB / 478.4 MB, free: 6.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.3074, allocations: 1.11 MB / 479.6 MB, free: 5.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.3076, allocations: 76 kB / 479.6 MB, free: 5.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004188/0.3117, allocations: 1.475 MB / 481.1 MB, free: 3.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003349/0.3121, allocations: 333.6 kB / 481.4 MB, free: 3.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.3135, allocations: 1.37 MB / 482.8 MB, free: 2.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004971/0.3185, allocations: 3.791 MB / 486.6 MB, free: 14.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3185, allocations: 0 / 486.6 MB, free: 14.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3185, allocations: 4 kB / 486.6 MB, free: 14.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.533e-05/0.3185, allocations: 0 / 486.6 MB, free: 14.46 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.00543/0.324, allocations: 3.809 MB / 490.4 MB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.324, allocations: 8.031 kB / 490.4 MB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004331/0.3244, allocations: 417.4 kB / 490.8 MB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.3278, allocations: 2.445 MB / 493.3 MB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.3278, allocations: 40.98 kB / 493.3 MB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.328, allocations: 52 kB / 493.4 MB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.3294, allocations: 0.7265 MB / 494.1 MB, free: 6.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.3294, allocations: 0 / 494.1 MB, free: 6.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.863e-05/0.3295, allocations: 20 kB / 494.1 MB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.3295, allocations: 19.98 kB / 494.1 MB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.3312, allocations: 0.8202 MB / 494.9 MB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005291/0.3365, allocations: 3.063 MB / 498 MB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.3377, allocations: 0.5165 MB / 498.5 MB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009778/0.3386, allocations: 0.5696 MB / 499.1 MB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03228/0.3709, allocations: 30.76 MB / 0.5174 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008042/0.3717, allocations: 357.6 kB / 0.5178 GB, free: 14.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.324e-06/0.3717, allocations: 4 kB / 0.5178 GB, free: 14.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.002532/0.3743, allocations: 1.103 MB / 0.5189 GB, free: 13.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.3743, allocations: 59.41 kB / 0.5189 GB, free: 13.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/0.3782, allocations: 2.943 MB / 0.5218 GB, free: 10.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.3783, allocations: 33.7 kB / 0.5218 GB, free: 10.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.3797, allocations: 1.498 MB / 0.5233 GB, free: 8.652 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.3798, allocations: 174.6 kB / 0.5234 GB, free: 8.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.3802, allocations: 226.4 kB / 0.5237 GB, free: 8.254 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3803, allocations: 341.9 kB / 0.524 GB, free: 7.914 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005794/0.3809, allocations: 245.9 kB / 0.5242 GB, free: 7.676 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008801/0.3818, allocations: 0.602 MB / 0.5248 GB, free: 6.902 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.3833, allocations: 0.8895 MB / 0.5257 GB, free: 5.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.3833, allocations: 11.94 kB / 0.5257 GB, free: 5.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002161/0.3855, allocations: 1.243 MB / 0.5269 GB, free: 4.578 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3855, allocations: 16.25 kB / 0.5269 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.3856, allocations: 83.98 kB / 0.527 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.3856, allocations: 16 kB / 0.527 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007244/0.3864, allocations: 199.7 kB / 0.5272 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.341e-05/0.3864, allocations: 23.88 kB / 0.5272 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008934/0.3873, allocations: 115.2 kB / 0.5273 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.3874, allocations: 68 kB / 0.5274 GB, free: 4.066 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.0007052/0.3881, allocations: 433.4 kB / 0.5278 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.3885, allocations: 401.5 kB / 0.5282 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.3911, allocations: 1.19 MB / 0.5294 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.3911, allocations: 4 kB / 0.5294 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3911, allocations: 3.938 kB / 0.5294 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3911, allocations: 3.984 kB / 0.5294 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.3944, allocations: 2.096 MB / 0.5314 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.861e-05/0.3945, allocations: 71.94 kB / 0.5315 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.395, allocations: 91.86 kB / 0.5316 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.395, allocations: 12.05 kB / 0.5316 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.3951, allocations: 32 kB / 0.5316 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3951, allocations: 0 / 0.5316 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3951, allocations: 4 kB / 0.5316 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.3974, allocations: 1.318 MB / 0.5329 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007001/0.3981, allocations: 494.4 kB / 0.5334 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.3984, allocations: 12.06 kB / 0.5334 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/0.399, allocations: 35.95 kB / 0.5334 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.3992, allocations: 55.89 kB / 0.5335 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.852e-05/0.3993, allocations: 47.98 kB / 0.5335 GB, free: 13.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002498/0.4018, allocations: 1.903 MB / 0.5354 GB, free: 11.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4018, allocations: 0 / 0.5354 GB, free: 11.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001309/0.4031, allocations: 0.5852 MB / 0.536 GB, free: 11.16 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.00121/0.4043, allocations: 0.7774 MB / 0.5367 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.4059, allocations: 0.7709 MB / 0.5375 GB, free: 9.582 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4059, allocations: 0 / 0.5375 GB, free: 9.582 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008077/0.4067, allocations: 423.2 kB / 0.5379 GB, free: 9.145 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.409, allocations: 0.6268 MB / 0.5385 GB, free: 8.512 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006451/0.4155, allocations: 4.407 MB / 0.5428 GB, free: 4.059 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.4168, allocations: 1.661 MB / 0.5444 GB, free: 2.371 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001063/0.4178, allocations: 361.1 kB / 0.5448 GB, free: 2.012 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.4181, allocations: 147.4 kB / 0.5449 GB, free: 1.867 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4181, allocations: 0 / 0.5449 GB, free: 1.867 MB / 462.1 MB Notification: Performance of Templates: time 0.2407/0.6588, allocations: 31.83 MB / 0.576 GB, free: 100.4 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.701202736236155]