Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2369/0.2369, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002426, allocations: 83.67 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1375, allocations: 62.46 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02813/0.1657, allocations: 22.73 MB / 0.4912 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.1805, allocations: 5.522 MB / 0.4966 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006033/0.1866, allocations: 199.3 kB / 0.4967 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2942/0.4809, allocations: 9.472 MB / 0.506 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009901/0.4908, allocations: 2.14 MB / 0.5081 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00632/0.4971, allocations: 1.894 MB / 0.5099 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02002/0.5172, allocations: 14.36 MB / 0.524 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07909/0.5963, allocations: 35.42 MB / 0.5585 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01895/0.6153, allocations: 7.957 MB / 0.5663 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01829/0.6336, allocations: 8.739 MB / 0.5748 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007267/0.6409, allocations: 2.098 MB / 0.5769 GB, free: 396 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/0.652, allocations: 2.354 MB / 0.5792 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01138/0.6634, allocations: 4.32 MB / 0.5834 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02255/0.686, allocations: 8.427 MB / 0.5916 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04277/0.7289, allocations: 28.52 MB / 0.6195 GB, free: 5.457 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.7289, allocations: 3.984 kB / 0.6195 GB, free: 5.453 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.791e-06/0.7289, allocations: 0 / 0.6195 GB, free: 5.453 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001029/0.73, allocations: 3.938 kB / 0.6195 GB, free: 5.449 MB / 462.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.07391/0.8039, allocations: 18.7 MB / 0.6378 GB, free: 2.832 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.804, allocations: 12.03 kB / 0.6378 GB, free: 2.82 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008069/0.8121, allocations: 2.012 MB / 0.6397 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0645/0.8766, allocations: 11.41 MB / 0.6509 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02248/0.8991, allocations: 8.578 MB / 0.6593 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001453/0.9006, allocations: 1.058 MB / 0.6603 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00654/0.9072, allocations: 1.373 MB / 0.6616 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06919/0.9764, allocations: 23.63 MB / 0.6847 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008533/0.9773, allocations: 23.8 kB / 0.6847 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006318/0.9836, allocations: 0.5716 MB / 0.6853 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001106/0.9848, allocations: 0.6978 MB / 0.686 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5603/1.545, allocations: 21.74 MB / 0.7072 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1392/1.684, allocations: 72.75 MB / 0.7782 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02171/1.706, allocations: 28.69 MB / 0.8063 GB, free: 76.67 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01086/1.717, allocations: 4.965 MB / 0.8111 GB, free: 71.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03547/1.753, allocations: 16.56 MB / 0.8273 GB, free: 54.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.155e-05/1.753, allocations: 90.05 kB / 0.8274 GB, free: 54.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 9.027e-06/1.753, allocations: 0 / 0.8274 GB, free: 54.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.0386/1.791, allocations: 15.73 MB / 0.8427 GB, free: 38.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/1.791, allocations: 128.6 kB / 0.8429 GB, free: 38.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01044/1.802, allocations: 5.109 MB / 0.8478 GB, free: 33.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001168/1.803, allocations: 97.7 kB / 0.8479 GB, free: 33.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003541/1.807, allocations: 5.887 MB / 0.8537 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002546/1.809, allocations: 1.586 MB / 0.8552 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005901/1.815, allocations: 1.551 MB / 0.8567 GB, free: 24.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/1.815, allocations: 305.1 kB / 0.857 GB, free: 24.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006854/1.822, allocations: 4.148 MB / 0.8611 GB, free: 20.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00902/1.831, allocations: 7.267 MB / 0.8682 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01679/1.848, allocations: 11.96 MB / 0.8799 GB, free: 13.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000141/1.848, allocations: 28 kB / 0.8799 GB, free: 13.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03154/1.88, allocations: 13.13 MB / 0.8927 GB, free: 0.793 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001788/1.88, allocations: 52 kB / 0.8928 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002428/1.88, allocations: 104 kB / 0.8929 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007823/1.888, allocations: 3.106 MB / 0.8959 GB, free: 13.52 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006691/1.895, allocations: 1.599 MB / 0.8975 GB, free: 11.91 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/1.896, allocations: 339 kB / 0.8978 GB, free: 11.57 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006851/1.903, allocations: 1.049 MB / 0.8988 GB, free: 10.52 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001842/1.905, allocations: 387.9 kB / 0.8992 GB, free: 10.14 MB / 0.5607 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.01306/1.918, allocations: 5.394 MB / 0.9044 GB, free: 4.727 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001958/1.92, allocations: 0.4938 MB / 0.9049 GB, free: 4.227 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02284/1.943, allocations: 9.635 MB / 0.9143 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.572e-05/1.943, allocations: 44 kB / 0.9144 GB, free: 10.51 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.212e-05/1.943, allocations: 11.94 kB / 0.9144 GB, free: 10.5 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.592e-05/1.943, allocations: 23.91 kB / 0.9144 GB, free: 10.48 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3421/2.285, allocations: 20.85 MB / 0.9348 GB, free: 187.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/2.285, allocations: 4.125 kB / 0.9348 GB, free: 187.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004002/2.289, allocations: 0.7436 MB / 0.9355 GB, free: 187.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008665/2.298, allocations: 2.976 MB / 0.9384 GB, free: 186.4 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001149/2.299, allocations: 104.9 kB / 0.9385 GB, free: 186.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007619/2.3, allocations: 146.3 kB / 0.9387 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/2.3, allocations: 1.406 kB / 0.9387 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02434/2.324, allocations: 14.25 MB / 0.9526 GB, free: 181 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003801/2.328, allocations: 1.364 MB / 0.9539 GB, free: 180.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/2.329, allocations: 79.88 kB / 0.954 GB, free: 180.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003729/2.333, allocations: 357.3 kB / 0.9543 GB, free: 180.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008671/2.334, allocations: 323.1 kB / 0.9546 GB, free: 180.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003113/2.334, allocations: 135.1 kB / 0.9548 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005806/2.34, allocations: 3.425 MB / 0.9581 GB, free: 179.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.31e-07/2.34, allocations: 0 / 0.9581 GB, free: 179.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009544/2.35, allocations: 3.187 MB / 0.9612 GB, free: 178.3 MB / 0.5763 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.02113/2.371, allocations: 14.97 MB / 0.9758 GB, free: 170.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.03868/2.41, allocations: 19.64 MB / 0.995 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/2.41, allocations: 0 / 0.995 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.009494/2.419, allocations: 4.467 MB / 0.9994 GB, free: 149 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007898/2.427, allocations: 1.263 MB / 1.001 GB, free: 148 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1403/2.567, allocations: 89.94 MB / 1.088 GB, free: 53.14 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01419/2.582, allocations: 9.006 MB / 1.097 GB, free: 44.09 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00758/2.589, allocations: 2.865 MB / 1.1 GB, free: 41.22 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00728/2.597, allocations: 4.701 MB / 1.105 GB, free: 36.52 MB / 0.5763 GB Notification: Performance of SimCode: time 9.52e-07/2.597, allocations: 6.516 kB / 1.105 GB, free: 36.51 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5051/3.102, allocations: 178.1 MB / 1.279 GB, free: 76.54 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/17.93, allocations: 20.38 kB / 1.279 GB, free: 76.52 MB / 0.5763 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1)