Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008325/0.0008325, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008527/0.0008527, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.443/0.443, allocations: 40 MB / 310.4 MB, free: 9.977 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000658/0.000658, allocations: 15.98 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1791, allocations: 57.95 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008672/0.1878, allocations: 6.656 MB / 443.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005616/0.1935, allocations: 2.175 MB / 445.6 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.1949, allocations: 24 kB / 445.6 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.196, allocations: 266.4 kB / 445.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.1985, allocations: 0.7426 MB / 446.6 MB, free: 8.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.2005, allocations: 0.7367 MB / 447.4 MB, free: 7.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00235/0.2028, allocations: 1.307 MB / 448.7 MB, free: 6.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003124/0.206, allocations: 1.525 MB / 450.2 MB, free: 5.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000989/0.207, allocations: 0.5098 MB / 450.7 MB, free: 4.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006983/0.2077, allocations: 0.6341 MB / 451.4 MB, free: 3.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.2078, allocations: 60 kB / 451.4 MB, free: 3.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008978/0.2087, allocations: 259.8 kB / 451.7 MB, free: 3.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.2089, allocations: 231 kB / 451.9 MB, free: 3.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000345/0.2093, allocations: 245 kB / 452.1 MB, free: 3.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.2108, allocations: 1.317 MB / 453.5 MB, free: 1.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.168e-06/0.2109, allocations: 4 kB / 453.5 MB, free: 1.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.2109, allocations: 0 / 453.5 MB, free: 1.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.2109, allocations: 3.938 kB / 453.5 MB, free: 1.812 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.3137/0.5246, allocations: 2.168 MB / 455.6 MB, free: 47.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.503e-05/0.5247, allocations: 8.406 kB / 455.6 MB, free: 47.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.535, allocations: 1.516 MB / 457.2 MB, free: 47.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.5365, allocations: 0.5953 MB / 457.7 MB, free: 47.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.41e-05/0.5366, allocations: 102.5 kB / 457.8 MB, free: 47.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.5368, allocations: 142.1 kB / 458 MB, free: 47.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002997/0.5399, allocations: 1.521 MB / 459.5 MB, free: 46.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/0.5399, allocations: 10.41 kB / 459.5 MB, free: 46.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.54, allocations: 54.69 kB / 459.6 MB, free: 46.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.5401, allocations: 38.56 kB / 459.6 MB, free: 46.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002954/0.543, allocations: 1.583 MB / 461.2 MB, free: 46.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008161/0.5512, allocations: 5.574 MB / 466.8 MB, free: 43.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.5534, allocations: 2.373 MB / 469.1 MB, free: 41.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009457/0.5544, allocations: 0.6599 MB / 469.8 MB, free: 41.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.5545, allocations: 108.9 kB / 469.9 MB, free: 41.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.5546, allocations: 53.91 kB / 470 MB, free: 41.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 4.178e-06/0.5546, allocations: 0 / 470 MB, free: 41.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.007985/0.5626, allocations: 3.121 MB / 473.1 MB, free: 40.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.5627, allocations: 90.27 kB / 473.2 MB, free: 40.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.5632, allocations: 479.4 kB / 473.6 MB, free: 40.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.807e-05/0.5633, allocations: 44.86 kB / 473.7 MB, free: 40.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.5636, allocations: 488.7 kB / 474.2 MB, free: 39.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.5639, allocations: 429.9 kB / 474.6 MB, free: 39.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.5639, allocations: 23.12 kB / 474.6 MB, free: 39.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.564, allocations: 389.6 kB / 475 MB, free: 39.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007303/0.5648, allocations: 470.9 kB / 475.4 MB, free: 38.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008949/0.5657, allocations: 0.7514 MB / 476.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008878/0.5666, allocations: 0.5307 MB / 476.7 MB, free: 38.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.5666, allocations: 3.188 kB / 476.7 MB, free: 38.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00281/0.5694, allocations: 1.651 MB / 478.4 MB, free: 37.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.5695, allocations: 6.375 kB / 478.4 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.5695, allocations: 13.3 kB / 478.4 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.5709, allocations: 0.5246 MB / 478.9 MB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007102/0.5716, allocations: 214.3 kB / 479.1 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0063/0.5779, allocations: 4.704 MB / 483.8 MB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009337/0.5789, allocations: 134.7 kB / 484 MB, free: 34.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.259e-05/0.579, allocations: 56.59 kB / 484 MB, free: 34.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005277/0.5795, allocations: 283.8 kB / 484.3 MB, free: 33.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.5797, allocations: 86.86 kB / 484.4 MB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/0.5823, allocations: 1.588 MB / 486 MB, free: 32.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.5824, allocations: 12.03 kB / 486 MB, free: 32.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5824, allocations: 2.906 kB / 486 MB, free: 32.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.5824, allocations: 14.67 kB / 486 MB, free: 32.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00419/0.5866, allocations: 2.908 MB / 488.9 MB, free: 31.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.5866, allocations: 0 / 488.9 MB, free: 31.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000587/0.5872, allocations: 147.5 kB / 489 MB, free: 31.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.5885, allocations: 0.5186 MB / 489.6 MB, free: 31.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.167e-05/0.5886, allocations: 23.47 kB / 489.6 MB, free: 31.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007266/0.5959, allocations: 4.697 MB / 494.3 MB, free: 28.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5959, allocations: 0 / 494.3 MB, free: 28.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004511/0.6005, allocations: 2.315 MB / 496.6 MB, free: 27.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/0.6011, allocations: 301.5 kB / 496.9 MB, free: 26.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.6013, allocations: 21.81 kB / 496.9 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.6019, allocations: 54.33 kB / 497 MB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003607/0.6022, allocations: 98.75 kB / 497.1 MB, free: 26.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.615e-05/0.6023, allocations: 39.62 kB / 497.1 MB, free: 26.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005523/0.6029, allocations: 309.8 kB / 497.4 MB, free: 26.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6029, allocations: 5.469 kB / 497.4 MB, free: 26.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001891/0.6048, allocations: 422.4 kB / 497.8 MB, free: 26.58 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003891/0.6052, allocations: 167.1 kB / 498 MB, free: 26.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004068/0.6093, allocations: 1.872 MB / 499.9 MB, free: 25.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6093, allocations: 0 / 499.9 MB, free: 25.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002413/0.6117, allocations: 1.247 MB / 0.4894 GB, free: 24.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009012/0.6126, allocations: 103.1 kB / 0.4895 GB, free: 24.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/0.6176, allocations: 2.598 MB / 0.492 GB, free: 23.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.6187, allocations: 1.083 MB / 0.4931 GB, free: 22.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006624/0.6194, allocations: 112.9 kB / 0.4932 GB, free: 22.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.6196, allocations: 66.41 kB / 0.4932 GB, free: 22.58 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6196, allocations: 0 / 0.4932 GB, free: 22.58 MB / 382.1 MB Notification: Performance of Templates: time 0.03621/0.6558, allocations: 16.34 MB / 0.5092 GB, free: 16.1 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) Environment - environmentSimulation: