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.001598/0.001598, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 192.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.4414/0.4414, allocations: 39.94 MB / 309.7 MB, free: 9.25 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.001702/0.001702, allocations: 71.89 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1966, allocations: 56.87 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01272/0.2094, allocations: 7.72 MB / 442.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007578/0.217, allocations: 2.361 MB / 444.6 MB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.2188, allocations: 27.94 kB / 444.6 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006095/0.2249, allocations: 1.816 MB / 446.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004258/0.2292, allocations: 0.8896 MB / 447.3 MB, free: 6.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.2321, allocations: 0.8881 MB / 448.2 MB, free: 5.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003629/0.2357, allocations: 1.429 MB / 449.6 MB, free: 4.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003239/0.239, allocations: 1.017 MB / 450.6 MB, free: 3.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.2407, allocations: 0.615 MB / 451.3 MB, free: 2.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.2425, allocations: 0.7431 MB / 452 MB, free: 2.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007593/0.2433, allocations: 116 kB / 452.1 MB, free: 1.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/0.2453, allocations: 331.8 kB / 452.4 MB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006497/0.2459, allocations: 302.9 kB / 452.7 MB, free: 1.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001833/0.2478, allocations: 0.6685 MB / 453.4 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.358/0.6058, allocations: 1.748 MB / 455.1 MB, free: 40.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-05/0.6059, allocations: 0 / 455.1 MB, free: 40.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.606, allocations: 0 / 455.1 MB, free: 40.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.298e-05/0.606, allocations: 2.781 kB / 455.1 MB, free: 40.51 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.008225/0.6142, allocations: 2.398 MB / 457.5 MB, free: 39.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.6143, allocations: 13.52 kB / 457.6 MB, free: 39.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009921/0.6243, allocations: 1.491 MB / 459.1 MB, free: 39.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.6257, allocations: 0.6192 MB / 459.7 MB, free: 39.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.383e-05/0.6258, allocations: 103.6 kB / 459.8 MB, free: 39.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.6261, allocations: 136.4 kB / 459.9 MB, free: 39.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/0.6288, allocations: 1.533 MB / 461.4 MB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.6288, allocations: 0 / 461.4 MB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.629, allocations: 55.72 kB / 461.5 MB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/0.629, allocations: 35.81 kB / 461.5 MB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.6315, allocations: 1.581 MB / 463.1 MB, free: 39.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007883/0.6394, allocations: 5.56 MB / 468.7 MB, free: 36.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.6416, allocations: 2.369 MB / 471 MB, free: 34.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008969/0.6425, allocations: 0.6492 MB / 471.7 MB, free: 33.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.6426, allocations: 114 kB / 471.8 MB, free: 33.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.6426, allocations: 45.78 kB / 471.8 MB, free: 33.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 4.398e-06/0.6427, allocations: 4 kB / 471.8 MB, free: 33.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.008393/0.6511, allocations: 3.157 MB / 475 MB, free: 32.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.6511, allocations: 90.89 kB / 475.1 MB, free: 32.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.6517, allocations: 484.5 kB / 475.6 MB, free: 32.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.004e-05/0.6518, allocations: 50.7 kB / 475.6 MB, free: 32.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.6521, allocations: 485.6 kB / 476.1 MB, free: 32.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.6525, allocations: 433.1 kB / 476.5 MB, free: 31.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003976/0.6529, allocations: 227.2 kB / 476.7 MB, free: 31.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6531, allocations: 382.8 kB / 477.1 MB, free: 31.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/0.6538, allocations: 464.9 kB / 477.6 MB, free: 31.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009542/0.6548, allocations: 0.7434 MB / 478.3 MB, free: 30.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.6565, allocations: 1.258 MB / 479.6 MB, free: 29.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.6565, allocations: 3.125 kB / 479.6 MB, free: 29.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002668/0.6592, allocations: 1.667 MB / 481.2 MB, free: 29.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.6593, allocations: 13.73 kB / 481.2 MB, free: 29.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.6593, allocations: 9.312 kB / 481.3 MB, free: 29.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.6607, allocations: 0.5317 MB / 481.8 MB, free: 28.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007609/0.6615, allocations: 214.7 kB / 482 MB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000212/0.6617, allocations: 64.45 kB / 482.1 MB, free: 28.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/0.6624, allocations: 129.8 kB / 482.2 MB, free: 28.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/0.6626, allocations: 52.91 kB / 482.2 MB, free: 28.84 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.0005581/0.6631, allocations: 280.8 kB / 482.5 MB, free: 28.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.6633, allocations: 86.06 kB / 482.6 MB, free: 28.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.6659, allocations: 1.58 MB / 484.2 MB, free: 27.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.666, allocations: 12.41 kB / 484.2 MB, free: 27.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.666, allocations: 0 / 484.2 MB, free: 27.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.666, allocations: 11.77 kB / 484.2 MB, free: 27.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004867/0.6709, allocations: 2.901 MB / 487.1 MB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.6709, allocations: 1.312 kB / 487.1 MB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.6716, allocations: 145.2 kB / 487.2 MB, free: 26.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.6732, allocations: 0.5236 MB / 487.8 MB, free: 26.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.724e-05/0.6733, allocations: 37.72 kB / 487.8 MB, free: 26.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.937e-05/0.6734, allocations: 24.89 kB / 487.8 MB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6734, allocations: 1.062 kB / 487.8 MB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/0.6774, allocations: 2.301 MB / 490.1 MB, free: 25.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/0.6779, allocations: 283 kB / 490.4 MB, free: 24.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.678, allocations: 25.72 kB / 490.4 MB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.6786, allocations: 49.44 kB / 490.5 MB, free: 24.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.6788, allocations: 75.58 kB / 490.6 MB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.137e-05/0.6789, allocations: 36.61 kB / 490.6 MB, free: 24.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004288/0.6793, allocations: 320.9 kB / 490.9 MB, free: 24.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6793, allocations: 0 / 490.9 MB, free: 24.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001302/0.6806, allocations: 345.1 kB / 491.2 MB, free: 24.51 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.0003648/0.681, allocations: 161.1 kB / 491.4 MB, free: 24.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004001/0.685, allocations: 1.43 MB / 492.8 MB, free: 23.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.685, allocations: 0 / 492.8 MB, free: 23.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.687, allocations: 0.7689 MB / 493.6 MB, free: 23.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.6878, allocations: 114.4 kB / 493.7 MB, free: 23.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.6922, allocations: 2.113 MB / 495.8 MB, free: 22.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009188/0.6931, allocations: 1.047 MB / 496.9 MB, free: 21.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006534/0.6938, allocations: 120.8 kB / 497 MB, free: 21.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.694, allocations: 63.28 kB / 497 MB, free: 21.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.694, allocations: 0 / 497 MB, free: 21.71 MB / 382.1 MB Notification: Performance of Templates: time 0.02966/0.7237, allocations: 13.98 MB / 0.4991 GB, free: 18.48 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)