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.001296/0.001295, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001522/0.001522, allocations: 190.6 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.1 MB / 222 MB, free: 4.77 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.4449/0.4449, allocations: 39.93 MB / 309.3 MB, free: 9.375 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.001495/0.001496, allocations: 66.41 kB / 376.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1686, allocations: 56.88 MB / 433.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008947/0.1776, allocations: 7.673 MB / 441.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005566/0.1832, allocations: 2.345 MB / 443.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009982/0.1843, allocations: 24 kB / 443.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003752/0.1881, allocations: 1.716 MB / 445.6 MB, free: 8.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.1907, allocations: 0.8087 MB / 446.4 MB, free: 7.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.1929, allocations: 0.8224 MB / 447.2 MB, free: 6.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.1952, allocations: 1.378 MB / 448.6 MB, free: 5.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.1969, allocations: 0.9093 MB / 449.5 MB, free: 4.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008435/0.1978, allocations: 0.5837 MB / 450.1 MB, free: 3.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007568/0.1986, allocations: 0.7275 MB / 450.8 MB, free: 3.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.1987, allocations: 84 kB / 450.9 MB, free: 2.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000758/0.1995, allocations: 287.8 kB / 451.2 MB, free: 2.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.1997, allocations: 278.8 kB / 451.4 MB, free: 2.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000574/0.2003, allocations: 0.6412 MB / 452.1 MB, free: 1.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.202, allocations: 1.709 MB / 453.8 MB, free: 36 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.202, allocations: 0 / 453.8 MB, free: 36 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.202, allocations: 0 / 453.8 MB, free: 36 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.202, allocations: 0 / 453.8 MB, free: 36 kB / 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.3442/0.5463, allocations: 2.4 MB / 456.2 MB, free: 51.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.5464, allocations: 10.44 kB / 456.2 MB, free: 51.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009994/0.5564, allocations: 1.494 MB / 457.7 MB, free: 51.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.5575, allocations: 0.6131 MB / 458.3 MB, free: 51.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.549e-05/0.5577, allocations: 102.2 kB / 458.4 MB, free: 51.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.5579, allocations: 135.4 kB / 458.5 MB, free: 51.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.5603, allocations: 1.525 MB / 460.1 MB, free: 50.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.5603, allocations: 17.28 kB / 460.1 MB, free: 50.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.5605, allocations: 57.97 kB / 460.1 MB, free: 50.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.5605, allocations: 32.91 kB / 460.2 MB, free: 50.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.5628, allocations: 1.575 MB / 461.7 MB, free: 50.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007047/0.5699, allocations: 5.547 MB / 467.3 MB, free: 46.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.5721, allocations: 2.378 MB / 469.7 MB, free: 44.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008705/0.573, allocations: 0.6549 MB / 470.3 MB, free: 44.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.5731, allocations: 104.4 kB / 470.4 MB, free: 44.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.5731, allocations: 50.19 kB / 470.5 MB, free: 44.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 4.107e-06/0.5732, allocations: 0 / 470.5 MB, free: 44.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.008646/0.5818, allocations: 3.165 MB / 473.6 MB, free: 43.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.5819, allocations: 100.3 kB / 473.7 MB, free: 43.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/0.5825, allocations: 476.2 kB / 474.2 MB, free: 42.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.866e-05/0.5826, allocations: 47.67 kB / 474.2 MB, free: 42.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.5828, allocations: 490.8 kB / 474.7 MB, free: 42.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.5831, allocations: 430.6 kB / 475.1 MB, free: 42.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000313/0.5834, allocations: 225.9 kB / 475.4 MB, free: 41.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5836, allocations: 383.1 kB / 475.7 MB, free: 41.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007542/0.5843, allocations: 471 kB / 476.2 MB, free: 41.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008314/0.5852, allocations: 0.7389 MB / 476.9 MB, free: 40.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.5867, allocations: 1.256 MB / 478.2 MB, free: 40.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.5868, allocations: 7.125 kB / 478.2 MB, free: 40.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002703/0.5895, allocations: 1.663 MB / 479.9 MB, free: 39.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.5895, allocations: 9.375 kB / 479.9 MB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.5895, allocations: 9.125 kB / 479.9 MB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/0.591, allocations: 0.5286 MB / 480.4 MB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007894/0.5918, allocations: 209.8 kB / 480.6 MB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002198/0.5921, allocations: 68.28 kB / 480.7 MB, free: 39.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008193/0.5929, allocations: 132.3 kB / 480.8 MB, free: 39.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.861e-05/0.593, allocations: 53.56 kB / 480.9 MB, free: 39.1 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 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005742/0.5936, allocations: 275.2 kB / 481.1 MB, free: 38.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.5938, allocations: 85.19 kB / 481.2 MB, free: 38.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/0.5965, allocations: 1.584 MB / 482.8 MB, free: 38.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.5966, allocations: 12.12 kB / 482.8 MB, free: 38.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.5966, allocations: 4 kB / 482.8 MB, free: 38.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.5966, allocations: 8.141 kB / 482.8 MB, free: 38.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004378/0.601, allocations: 2.903 MB / 485.7 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.601, allocations: 1 kB / 485.7 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006636/0.6017, allocations: 146 kB / 485.9 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.6033, allocations: 0.5174 MB / 486.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.453e-05/0.6034, allocations: 28.62 kB / 486.4 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.947e-05/0.6035, allocations: 30.98 kB / 486.4 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6035, allocations: 0 / 486.4 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004173/0.6077, allocations: 2.301 MB / 488.7 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000601/0.6083, allocations: 289.8 kB / 489 MB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.6084, allocations: 22.72 kB / 489 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006279/0.6091, allocations: 48.58 kB / 489.1 MB, free: 34.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.6093, allocations: 80.23 kB / 489.2 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.056e-05/0.6094, allocations: 40.72 kB / 489.2 MB, free: 34.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004429/0.6099, allocations: 318.1 kB / 489.5 MB, free: 34.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6099, allocations: 0 / 489.5 MB, free: 34.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00117/0.611, allocations: 344.7 kB / 489.9 MB, free: 34.73 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003241/0.6114, allocations: 162.1 kB / 490 MB, free: 34.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003555/0.6149, allocations: 1.387 MB / 491.4 MB, free: 34.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.615, allocations: 1.5 kB / 491.4 MB, free: 34.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001871/0.6168, allocations: 0.7759 MB / 492.2 MB, free: 33.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009178/0.6178, allocations: 102.5 kB / 492.3 MB, free: 33.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.6224, allocations: 2.63 MB / 494.9 MB, free: 32.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007392/0.6232, allocations: 1.051 MB / 496 MB, free: 31.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007327/0.6239, allocations: 110.3 kB / 496.1 MB, free: 31.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.6242, allocations: 65.34 kB / 496.1 MB, free: 31.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.944e-06/0.6242, allocations: 4 kB / 496.1 MB, free: 31.36 MB / 382.1 MB Notification: Performance of Templates: time 0.02958/0.6538, allocations: 13.05 MB / 0.4973 GB, free: 28.01 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (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)