Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008535/0.0008538, allocations: 95.19 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009817/0.0009818, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.8 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002729, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1273, allocations: 63.56 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02274/0.1501, allocations: 21.25 MB / 0.4925 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.1619, allocations: 5.425 MB / 0.4978 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004313/0.1663, allocations: 183.4 kB / 0.498 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00459/0.1709, allocations: 1.419 MB / 0.4994 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007634/0.1786, allocations: 1.943 MB / 0.5013 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005492/0.1841, allocations: 1.781 MB / 0.503 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2377/0.4218, allocations: 14.46 MB / 0.5171 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06571/0.4875, allocations: 33.47 MB / 0.5498 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01209/0.4997, allocations: 5.583 MB / 0.5553 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01199/0.5117, allocations: 6.565 MB / 0.5617 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003622/0.5154, allocations: 0.832 MB / 0.5625 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007219/0.5226, allocations: 1.08 MB / 0.5636 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005126/0.5278, allocations: 2.705 MB / 0.5662 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01495/0.5428, allocations: 6.656 MB / 0.5727 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03336/0.5762, allocations: 26.91 MB / 0.599 GB, free: 11.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5762, allocations: 4 kB / 0.599 GB, free: 11.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.5762, allocations: 0 / 0.599 GB, free: 11.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009312/0.5772, allocations: 0 / 0.599 GB, free: 11.89 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.05181/0.629, allocations: 15.52 MB / 0.6141 GB, free: 12.42 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.539e-05/0.6291, allocations: 15.77 kB / 0.6142 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06448/0.6936, allocations: 11.77 MB / 0.6256 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01852/0.7122, allocations: 8.546 MB / 0.634 GB, free: 8.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001325/0.7135, allocations: 1.065 MB / 0.635 GB, free: 7.465 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00569/0.7192, allocations: 1.369 MB / 0.6364 GB, free: 6.105 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06406/0.7833, allocations: 23.62 MB / 0.6594 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009209/0.7843, allocations: 23.8 kB / 0.6595 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006179/0.7905, allocations: 0.5718 MB / 0.66 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009403/0.7915, allocations: 0.7052 MB / 0.6607 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05444/0.8459, allocations: 21.74 MB / 0.6819 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6383/1.484, allocations: 72.92 MB / 0.7531 GB, free: 96.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02125/1.506, allocations: 28.68 MB / 0.7812 GB, free: 71.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008177/1.514, allocations: 4.986 MB / 0.786 GB, free: 68.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0362/1.55, allocations: 16.52 MB / 0.8022 GB, free: 57.97 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.85e-05/1.55, allocations: 81.89 kB / 0.8022 GB, free: 57.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.732e-06/1.55, allocations: 0 / 0.8022 GB, free: 57.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03803/1.588, allocations: 15.87 MB / 0.8177 GB, free: 44.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/1.588, allocations: 128.7 kB / 0.8178 GB, free: 44.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009849/1.598, allocations: 5.101 MB / 0.8228 GB, free: 39.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001422/1.6, allocations: 97.7 kB / 0.8229 GB, free: 39.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003759/1.603, allocations: 5.896 MB / 0.8287 GB, free: 33.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003336/1.607, allocations: 1.578 MB / 0.8302 GB, free: 31.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003479/1.61, allocations: 0.6002 MB / 0.8308 GB, free: 31.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/1.61, allocations: 305.1 kB / 0.8311 GB, free: 30.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007929/1.618, allocations: 4.168 MB / 0.8352 GB, free: 26.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008726/1.627, allocations: 7.293 MB / 0.8423 GB, free: 18.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01441/1.642, allocations: 11.98 MB / 0.854 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.975e-05/1.642, allocations: 32 kB / 0.854 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02372/1.665, allocations: 13.16 MB / 0.8669 GB, free: 8.438 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/1.666, allocations: 49.75 kB / 0.8669 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002461/1.666, allocations: 104 kB / 0.867 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007504/1.673, allocations: 3.097 MB / 0.8701 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006793/1.68, allocations: 1.597 MB / 0.8716 GB, free: 3.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03475/1.715, allocations: 21.95 MB / 0.893 GB, free: 13.43 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006776/1.722, allocations: 1.077 MB / 0.8941 GB, free: 12.35 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/1.723, allocations: 380 kB / 0.8945 GB, free: 11.98 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * 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 (814): * Single equations (assignments): 811 * 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.01036/1.734, allocations: 5.398 MB / 0.8997 GB, free: 6.688 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00147/1.735, allocations: 0.4977 MB / 0.9002 GB, free: 6.184 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01911/1.754, allocations: 9.693 MB / 0.9097 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.626e-05/1.755, allocations: 48 kB / 0.9097 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/1.755, allocations: 0 / 0.9097 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.151e-05/1.755, allocations: 23.91 kB / 0.9097 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04761/1.802, allocations: 20.84 MB / 0.9301 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.454e-05/1.802, allocations: 4 kB / 0.9301 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003923/1.806, allocations: 0.7358 MB / 0.9308 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007372/1.814, allocations: 2.962 MB / 0.9337 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009615/1.815, allocations: 99.97 kB / 0.9338 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3423/2.157, allocations: 21.69 MB / 0.955 GB, free: 214.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/2.157, allocations: 9.969 kB / 0.955 GB, free: 214.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02543/2.183, allocations: 14.29 MB / 0.969 GB, free: 208.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003864/2.186, allocations: 1.383 MB / 0.9703 GB, free: 208.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001641/2.188, allocations: 78.62 kB / 0.9704 GB, free: 208.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004024/2.192, allocations: 394.7 kB / 0.9708 GB, free: 208.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00183/2.194, allocations: 383.6 kB / 0.9711 GB, free: 208.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008177/2.195, allocations: 130.5 kB / 0.9713 GB, free: 208 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00592/2.201, allocations: 3.427 MB / 0.9746 GB, free: 206.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/2.201, allocations: 5.906 kB / 0.9746 GB, free: 206.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01408/2.215, allocations: 3.424 MB / 0.9779 GB, free: 205.8 MB / 0.6075 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.001658/2.217, allocations: 248.4 kB / 0.9782 GB, free: 205.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0195/2.236, allocations: 11.46 MB / 0.9894 GB, free: 201.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/2.236, allocations: 0 / 0.9894 GB, free: 201.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01157/2.248, allocations: 6.012 MB / 0.9953 GB, free: 197.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009997/2.258, allocations: 1.2 MB / 0.9964 GB, free: 196.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05624/2.314, allocations: 30.21 MB / 1.026 GB, free: 167.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01602/2.33, allocations: 9.126 MB / 1.035 GB, free: 158.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.009119/2.339, allocations: 2.873 MB / 1.038 GB, free: 155.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002222/2.342, allocations: 371.4 kB / 1.038 GB, free: 154.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.653e-06/2.342, allocations: 3.938 kB / 1.038 GB, free: 154.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.1616/2.503, allocations: 106.7 MB / 1.142 GB, free: 48.61 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1)