Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.MultiPhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008918/0.0008918, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009021/0.0009023, allocations: 177.3 kB / 15.95 MB, free: 216 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.288/1.288, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.2649/0.2649, allocations: 40 MB / 310.4 MB, free: 9.656 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.0005075/0.0005076, allocations: 12 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.09883, allocations: 57.95 MB / 436.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.181/0.2799, allocations: 18.34 MB / 455.1 MB, free: 33.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009402/0.2893, allocations: 5.275 MB / 460.4 MB, free: 33.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002909/0.2923, allocations: 156.2 kB / 460.5 MB, free: 33.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003499/0.2958, allocations: 1.101 MB / 461.6 MB, free: 33.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006007/0.3018, allocations: 1.961 MB / 463.6 MB, free: 33.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.3052, allocations: 1.305 MB / 464.9 MB, free: 33.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01043/0.3157, allocations: 9.365 MB / 474.3 MB, free: 32.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04051/0.3562, allocations: 26.33 MB / 0.4889 GB, free: 22.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008441/0.3647, allocations: 5.085 MB / 0.4938 GB, free: 19.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/0.3749, allocations: 5.699 MB / 0.4994 GB, free: 17.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003078/0.378, allocations: 0.8381 MB / 0.5002 GB, free: 17.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006431/0.3844, allocations: 1.022 MB / 0.5012 GB, free: 17.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003847/0.3883, allocations: 2.628 MB / 0.5038 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005157/0.3935, allocations: 2.821 MB / 0.5065 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02042/0.4139, allocations: 24.02 MB / 0.53 GB, free: 9.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.414, allocations: 0 / 0.53 GB, free: 9.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.414, allocations: 0 / 0.53 GB, free: 9.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006979/0.4147, allocations: 0 / 0.53 GB, free: 9.293 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: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.04449/0.4592, allocations: 15.83 MB / 0.5454 GB, free: 9.391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.4592, allocations: 12.03 kB / 0.5455 GB, free: 9.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06589/0.5251, allocations: 12.75 MB / 0.5579 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01734/0.5425, allocations: 7.802 MB / 0.5655 GB, free: 4.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001139/0.5437, allocations: 1.068 MB / 0.5666 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004747/0.5484, allocations: 1.402 MB / 0.5679 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05348/0.6019, allocations: 23.89 MB / 0.5913 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003874/0.6024, allocations: 15.91 kB / 0.5913 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003224/0.6056, allocations: 0.5781 MB / 0.5918 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008468/0.6065, allocations: 0.7335 MB / 0.5926 GB, free: 8.926 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04358/0.6501, allocations: 22.36 MB / 0.6144 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4615/1.112, allocations: 73.06 MB / 0.6857 GB, free: 82.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02075/1.132, allocations: 31.56 MB / 0.7166 GB, free: 54.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02667/1.159, allocations: 15.51 MB / 0.7317 GB, free: 45.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.756e-05/1.159, allocations: 85.73 kB / 0.7318 GB, free: 45.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=465): time 7.554e-06/1.159, allocations: 0 / 0.7318 GB, free: 45.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=465): time 0.03051/1.19, allocations: 15.38 MB / 0.7468 GB, free: 37.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/1.19, allocations: 121.3 kB / 0.7469 GB, free: 37.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006518/1.196, allocations: 5.156 MB / 0.752 GB, free: 34.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007089/1.197, allocations: 96.83 kB / 0.7521 GB, free: 34.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002949/1.2, allocations: 6.052 MB / 0.758 GB, free: 29.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001643/1.202, allocations: 1.597 MB / 0.7595 GB, free: 27.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005656/1.202, allocations: 158.2 kB / 0.7597 GB, free: 27.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004196/1.203, allocations: 0.6336 MB / 0.7603 GB, free: 27.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005544/1.208, allocations: 4.175 MB / 0.7644 GB, free: 24.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007195/1.215, allocations: 7.543 MB / 0.7717 GB, free: 15.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007744/1.223, allocations: 5.716 MB / 0.7773 GB, free: 9.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.248e-05/1.223, allocations: 32 kB / 0.7773 GB, free: 9.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=1006) (initialization): time 0.02117/1.245, allocations: 13.37 MB / 0.7904 GB, free: 12.42 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 7.911e-05/1.245, allocations: 52.19 kB / 0.7905 GB, free: 12.37 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/1.245, allocations: 120 kB / 0.7906 GB, free: 12.25 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006401/1.251, allocations: 3.075 MB / 0.7936 GB, free: 9.168 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00602/1.257, allocations: 1.681 MB / 0.7952 GB, free: 7.484 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/1.272, allocations: 11.13 MB / 0.8061 GB, free: 12.16 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006822/1.279, allocations: 1.119 MB / 0.8072 GB, free: 11.03 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001909/1.281, allocations: 404 kB / 0.8076 GB, free: 10.64 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 518 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (859): * Single equations (assignments): 856 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.01075/1.291, allocations: 5.464 MB / 0.8129 GB, free: 5.156 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.293, allocations: 0.5053 MB / 0.8134 GB, free: 4.645 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01537/1.308, allocations: 9.614 MB / 0.8228 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/1.308, allocations: 48 kB / 0.8228 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.308, allocations: 0 / 0.8228 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.165e-05/1.308, allocations: 23.91 kB / 0.8229 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.255/1.563, allocations: 20.68 MB / 0.843 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.563, allocations: 0 / 0.843 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002802/1.566, allocations: 0.741 MB / 0.8438 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005032/1.571, allocations: 2.917 MB / 0.8466 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003332/1.571, allocations: 93.75 kB / 0.8467 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/1.583, allocations: 10.93 MB / 0.8574 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.583, allocations: 3.562 kB / 0.8574 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01891/1.602, allocations: 14.07 MB / 0.8711 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004049/1.606, allocations: 1.336 MB / 0.8724 GB, free: 144 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/1.607, allocations: 80.88 kB / 0.8725 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003647/1.611, allocations: 387.7 kB / 0.8729 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009161/1.612, allocations: 338.3 kB / 0.8732 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004102/1.612, allocations: 128.6 kB / 0.8733 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005954/1.618, allocations: 3.418 MB / 0.8767 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.243e-06/1.618, allocations: 0 / 0.8767 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009815/1.628, allocations: 3.308 MB / 0.8799 GB, free: 141.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/1.629, allocations: 262.8 kB / 0.8801 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01537/1.645, allocations: 10.57 MB / 0.8905 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.645, allocations: 0 / 0.8905 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007968/1.653, allocations: 5.027 MB / 0.8954 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006666/1.66, allocations: 1.145 MB / 0.8965 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0411/1.701, allocations: 28.99 MB / 0.9248 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0113/1.712, allocations: 9.366 MB / 0.9339 GB, free: 103 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006804/1.719, allocations: 2.941 MB / 0.9368 GB, free: 100 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/1.72, allocations: 387.4 kB / 0.9372 GB, free: 99.66 MB / 0.5294 GB Notification: Performance of SimCode: time 1.543e-06/1.72, allocations: 0 / 0.9372 GB, free: 99.66 MB / 0.5294 GB Notification: Performance of Templates: time 0.1183/1.838, allocations: 90.81 MB / 1.026 GB, free: 8.828 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) Environment - environmentSimulation: