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.001082/0.001082, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0012/0.0012, allocations: 168.7 kB / 15.95 MB, free: 204 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.808/1.808, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.4999/0.4999, allocations: 40.01 MB / 310.4 MB, free: 10.15 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.0005797/0.0005799, allocations: 12 kB / 378.8 MB, free: 12.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1605, allocations: 57.95 MB / 436.8 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.3514/0.512, allocations: 19.78 MB / 456.6 MB, free: 33.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01406/0.5261, allocations: 5.071 MB / 461.6 MB, free: 33.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005355/0.5315, allocations: 154.4 kB / 461.8 MB, free: 33.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004954/0.5364, allocations: 1.018 MB / 462.8 MB, free: 33.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.5487, allocations: 2.057 MB / 464.9 MB, free: 33.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006244/0.555, allocations: 1.305 MB / 466.2 MB, free: 33.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02045/0.5754, allocations: 13.78 MB / 480 MB, free: 29.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0608/0.6363, allocations: 26.58 MB / 0.4947 GB, free: 19.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01653/0.6529, allocations: 5.588 MB / 0.5001 GB, free: 17.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01837/0.6713, allocations: 6.305 MB / 0.5063 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005782/0.6772, allocations: 0.8436 MB / 0.5071 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009291/0.6865, allocations: 1.058 MB / 0.5081 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007386/0.6939, allocations: 2.712 MB / 0.5108 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01026/0.7042, allocations: 2.819 MB / 0.5135 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03376/0.738, allocations: 24.05 MB / 0.537 GB, free: 2.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.7381, allocations: 4 kB / 0.537 GB, free: 2.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.7381, allocations: 0 / 0.537 GB, free: 2.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0009907/0.7391, allocations: 0 / 0.537 GB, free: 2.711 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.05334/0.7924, allocations: 15.83 MB / 0.5525 GB, free: 2.887 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.7925, allocations: 8.031 kB / 0.5525 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06517/0.8577, allocations: 12.76 MB / 0.5649 GB, free: 6.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02057/0.8783, allocations: 7.8 MB / 0.5726 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001659/0.88, allocations: 1.075 MB / 0.5736 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009117/0.8892, allocations: 1.398 MB / 0.575 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08845/0.9777, allocations: 24.01 MB / 0.5984 GB, free: 3.625 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009738/0.9787, allocations: 15.81 kB / 0.5984 GB, free: 3.609 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00739/0.9861, allocations: 0.582 MB / 0.599 GB, free: 3.027 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001091/0.9873, allocations: 0.7296 MB / 0.5997 GB, free: 2.297 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06103/1.048, allocations: 22.38 MB / 0.6216 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7793/1.828, allocations: 73.47 MB / 0.6933 GB, free: 70.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02685/1.855, allocations: 31.6 MB / 0.7242 GB, free: 42.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00858/1.863, allocations: 5.071 MB / 0.7291 GB, free: 39.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02605/1.889, allocations: 15.85 MB / 0.7446 GB, free: 29.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.704e-05/1.889, allocations: 84.8 kB / 0.7447 GB, free: 29.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=465): time 6.042e-06/1.889, allocations: 0 / 0.7447 GB, free: 29.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=465): time 0.03193/1.921, allocations: 15.57 MB / 0.7599 GB, free: 19.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/1.922, allocations: 124.7 kB / 0.76 GB, free: 19.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009377/1.931, allocations: 5.213 MB / 0.7651 GB, free: 13.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001548/1.933, allocations: 101.7 kB / 0.7652 GB, free: 13.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004273/1.937, allocations: 6.041 MB / 0.7711 GB, free: 7.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002593/1.939, allocations: 1.592 MB / 0.7727 GB, free: 6.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005377/1.94, allocations: 156 kB / 0.7728 GB, free: 5.938 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004007/1.94, allocations: 0.6245 MB / 0.7734 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006069/1.946, allocations: 4.207 MB / 0.7775 GB, free: 1.098 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0111/1.958, allocations: 7.549 MB / 0.7849 GB, free: 8.027 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/1.969, allocations: 5.727 MB / 0.7905 GB, free: 2.398 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/1.969, allocations: 40 kB / 0.7905 GB, free: 2.359 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02921/1.998, allocations: 13.39 MB / 0.8036 GB, free: 5.621 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001652/1.998, allocations: 54.34 kB / 0.8037 GB, free: 5.57 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003338/1.999, allocations: 112 kB / 0.8038 GB, free: 5.461 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00702/2.006, allocations: 3.123 MB / 0.8068 GB, free: 2.332 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007713/2.014, allocations: 1.666 MB / 0.8085 GB, free: 0.7773 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.032/2.046, allocations: 21.89 MB / 0.8298 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/2.056, allocations: 1.123 MB / 0.8309 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002217/2.058, allocations: 408 kB / 0.8313 GB, free: 8.965 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (853): * Single equations (assignments): 850 * 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.01344/2.072, allocations: 5.467 MB / 0.8366 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/2.073, allocations: 0.5092 MB / 0.8371 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4193/2.493, allocations: 9.692 MB / 0.8466 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.593e-05/2.493, allocations: 52.48 kB / 0.8467 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/2.493, allocations: 2.688 kB / 0.8467 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.716e-05/2.493, allocations: 24.84 kB / 0.8467 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04794/2.541, allocations: 20.9 MB / 0.8671 GB, free: 163.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/2.541, allocations: 0.8438 kB / 0.8671 GB, free: 163.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003542/2.545, allocations: 0.7337 MB / 0.8678 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007548/2.552, allocations: 2.967 MB / 0.8707 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001333/2.554, allocations: 96.92 kB / 0.8708 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03305/2.587, allocations: 21.66 MB / 0.892 GB, free: 151.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/2.587, allocations: 0 / 0.892 GB, free: 151.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02128/2.608, allocations: 14.18 MB / 0.9058 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003816/2.612, allocations: 1.392 MB / 0.9072 GB, free: 145.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001478/2.613, allocations: 86.7 kB / 0.9072 GB, free: 145.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/2.617, allocations: 399.5 kB / 0.9076 GB, free: 145.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/2.618, allocations: 380.1 kB / 0.908 GB, free: 145.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002899/2.618, allocations: 125.3 kB / 0.9081 GB, free: 145.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006597/2.624, allocations: 3.465 MB / 0.9115 GB, free: 144.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.01e-07/2.624, allocations: 6.344 kB / 0.9115 GB, free: 144.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01764/2.642, allocations: 3.469 MB / 0.9149 GB, free: 143.1 MB / 0.545 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.002102/2.644, allocations: 254.1 kB / 0.9151 GB, free: 143 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02023/2.665, allocations: 11.55 MB / 0.9264 GB, free: 133 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/2.665, allocations: 0 / 0.9264 GB, free: 133 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01173/2.676, allocations: 5.996 MB / 0.9323 GB, free: 126.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007821/2.684, allocations: 1.221 MB / 0.9335 GB, free: 125.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05713/2.741, allocations: 29.32 MB / 0.9621 GB, free: 96.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02018/2.762, allocations: 9.225 MB / 0.9711 GB, free: 87.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01076/2.772, allocations: 2.936 MB / 0.974 GB, free: 84.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002331/2.775, allocations: 383.4 kB / 0.9743 GB, free: 83.86 MB / 0.545 GB Notification: Performance of SimCode: time 1.413e-06/2.775, allocations: 0 / 0.9743 GB, free: 83.86 MB / 0.545 GB Notification: Performance of Templates: time 0.4925/3.267, allocations: 105.2 MB / 1.077 GB, free: 130.7 MB / 0.545 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: