Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_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.00109/0.00109, allocations: 102.7 kB / 16.02 MB, free: 76 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.001582/0.001581, allocations: 184.9 kB / 16.92 MB, free: 6.918 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.565/1.565, allocations: 205.4 MB / 223.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3364/0.3364, allocations: 43.58 MB / 315 MB, free: 8.996 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: Performance of FrontEnd - loaded program: time 0.0005053/0.0005051, allocations: 12 kB / 384.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1364, allocations: 58.87 MB / 443.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.3403/0.4768, allocations: 21.39 MB / 464.8 MB, free: 36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01847/0.4953, allocations: 5.423 MB / 470.3 MB, free: 35.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009206/0.5046, allocations: 153.8 kB / 470.4 MB, free: 35.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007783/0.5124, allocations: 1.437 MB / 471.9 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.013/0.5255, allocations: 2.177 MB / 474 MB, free: 33.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007453/0.5329, allocations: 1.573 MB / 475.6 MB, free: 33.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0238/0.5568, allocations: 14.74 MB / 490.3 MB, free: 26.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07695/0.6338, allocations: 33.51 MB / 0.5116 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01569/0.6495, allocations: 5.648 MB / 0.5171 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01608/0.6657, allocations: 6.683 MB / 0.5236 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005967/0.6717, allocations: 0.8398 MB / 0.5244 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01392/0.6857, allocations: 1.064 MB / 0.5255 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009228/0.695, allocations: 2.767 MB / 0.5282 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02337/0.7184, allocations: 6.749 MB / 0.5348 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04498/0.7634, allocations: 26.91 MB / 0.5611 GB, free: 8.203 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.7635, allocations: 0 / 0.5611 GB, free: 8.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.799e-06/0.7635, allocations: 0 / 0.5611 GB, free: 8.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001391/0.7649, allocations: 0 / 0.5611 GB, free: 8.203 MB / 430.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.06237/0.8273, allocations: 15.7 MB / 0.5764 GB, free: 8.402 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/0.8274, allocations: 15.97 kB / 0.5764 GB, free: 8.387 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06783/0.8953, allocations: 12.75 MB / 0.5888 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02534/0.9207, allocations: 7.908 MB / 0.5966 GB, free: 3.609 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001956/0.9227, allocations: 1.068 MB / 0.5976 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009308/0.932, allocations: 1.394 MB / 0.599 GB, free: 1.145 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0902/1.022, allocations: 24.14 MB / 0.6225 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009748/1.023, allocations: 15.81 kB / 0.6226 GB, free: 8.895 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009667/1.033, allocations: 0.582 MB / 0.6231 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001102/1.034, allocations: 0.7296 MB / 0.6238 GB, free: 7.582 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7145/1.749, allocations: 22.5 MB / 0.6458 GB, free: 109.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1766/1.925, allocations: 73.53 MB / 0.7176 GB, free: 66.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02801/1.953, allocations: 31.62 MB / 0.7485 GB, free: 36.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008942/1.962, allocations: 5.103 MB / 0.7535 GB, free: 31.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02973/1.992, allocations: 15.84 MB / 0.769 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.294e-05/1.992, allocations: 86.11 kB / 0.769 GB, free: 15.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=465): time 8.295e-06/1.992, allocations: 0 / 0.769 GB, free: 15.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=465): time 0.03486/2.027, allocations: 15.83 MB / 0.7845 GB, free: 15.64 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/2.027, allocations: 124.7 kB / 0.7846 GB, free: 15.5 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/2.039, allocations: 5.248 MB / 0.7897 GB, free: 10.25 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.00151/2.04, allocations: 105.7 kB / 0.7898 GB, free: 10.14 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.006122/2.046, allocations: 6.038 MB / 0.7957 GB, free: 4.074 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.003395/2.05, allocations: 1.596 MB / 0.7973 GB, free: 2.492 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002485/2.052, allocations: 0.6243 MB / 0.7979 GB, free: 1.863 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001876/2.052, allocations: 305.1 kB / 0.7982 GB, free: 1.562 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009987/2.062, allocations: 4.235 MB / 0.8023 GB, free: 13.32 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01481/2.077, allocations: 7.588 MB / 0.8097 GB, free: 4.16 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02244/2.1, allocations: 12.37 MB / 0.8218 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001485/2.1, allocations: 32 kB / 0.8218 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.03692/2.137, allocations: 13.51 MB / 0.835 GB, free: 8.637 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/2.137, allocations: 52 kB / 0.8351 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002781/2.138, allocations: 112 kB / 0.8352 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007281/2.145, allocations: 3.099 MB / 0.8382 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007434/2.152, allocations: 1.677 MB / 0.8399 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4294/2.582, allocations: 21.94 MB / 0.8613 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008465/2.59, allocations: 1.124 MB / 0.8624 GB, free: 158.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001951/2.592, allocations: 405.7 kB / 0.8628 GB, free: 158.7 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 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.01603/2.608, allocations: 5.458 MB / 0.8681 GB, free: 156.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0016/2.61, allocations: 0.5085 MB / 0.8686 GB, free: 156.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01798/2.628, allocations: 9.717 MB / 0.8781 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-05/2.628, allocations: 49.16 kB / 0.8781 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/2.628, allocations: 0 / 0.8781 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.009e-05/2.628, allocations: 24.47 kB / 0.8782 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05169/2.68, allocations: 20.94 MB / 0.8986 GB, free: 145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/2.68, allocations: 0 / 0.8986 GB, free: 145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002926/2.683, allocations: 0.7341 MB / 0.8993 GB, free: 145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006402/2.689, allocations: 2.971 MB / 0.9022 GB, free: 144.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001013/2.69, allocations: 98.92 kB / 0.9023 GB, free: 144.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03014/2.72, allocations: 21.69 MB / 0.9235 GB, free: 132.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.721, allocations: 4.75 kB / 0.9235 GB, free: 132.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02317/2.744, allocations: 14.24 MB / 0.9374 GB, free: 121.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005028/2.749, allocations: 1.387 MB / 0.9388 GB, free: 119.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001812/2.751, allocations: 76 kB / 0.9388 GB, free: 119.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004065/2.755, allocations: 399.6 kB / 0.9392 GB, free: 119.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001426/2.756, allocations: 383.6 kB / 0.9396 GB, free: 118.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003028/2.756, allocations: 132 kB / 0.9397 GB, free: 118.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007415/2.764, allocations: 3.505 MB / 0.9431 GB, free: 115.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.946e-06/2.764, allocations: 1.125 kB / 0.9431 GB, free: 115.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01702/2.781, allocations: 3.466 MB / 0.9465 GB, free: 111.8 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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002251/2.783, allocations: 259.9 kB / 0.9468 GB, free: 111.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02194/2.805, allocations: 11.59 MB / 0.9581 GB, free: 99.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/2.805, allocations: 4.062 kB / 0.9581 GB, free: 99.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01107/2.816, allocations: 6.012 MB / 0.964 GB, free: 93.83 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01102/2.827, allocations: 1.203 MB / 0.9651 GB, free: 92.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06765/2.895, allocations: 30.6 MB / 0.995 GB, free: 62.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02194/2.917, allocations: 9.225 MB / 1.004 GB, free: 52.83 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01118/2.928, allocations: 2.936 MB / 1.007 GB, free: 49.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002954/2.931, allocations: 383.4 kB / 1.007 GB, free: 49.51 MB / 0.545 GB Notification: Performance of SimCode: time 2.445e-06/2.931, allocations: 0 / 1.007 GB, free: 49.51 MB / 0.545 GB Notification: Performance of Templates: time 0.5812/3.513, allocations: 107.4 MB / 1.112 GB, free: 126.7 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1)