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.001301/0.001301, allocations: 121.7 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 202 kB / 18.74 MB, free: 4.332 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.4 MB / 247 MB, free: 10.42 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.2335/0.2335, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.002207/0.002207, allocations: 75.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3946, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.04516/0.4398, allocations: 22.74 MB / 0.5528 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02038/0.4602, allocations: 5.518 MB / 0.5582 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005978/0.4663, allocations: 195.4 kB / 0.5584 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02135/0.4877, allocations: 9.476 MB / 0.5676 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008539/0.4963, allocations: 2.147 MB / 0.5697 GB, free: 9.496 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005385/0.5017, allocations: 1.9 MB / 0.5716 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01762/0.5193, allocations: 14.47 MB / 0.5857 GB, free: 9.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0522/0.5715, allocations: 34.29 MB / 0.6192 GB, free: 6.574 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01372/0.5853, allocations: 7.96 MB / 0.627 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01621/0.6016, allocations: 8.732 MB / 0.6355 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006983/0.6086, allocations: 2.102 MB / 0.6376 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009436/0.6181, allocations: 2.351 MB / 0.6399 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009172/0.6273, allocations: 4.325 MB / 0.6441 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01734/0.6446, allocations: 8.428 MB / 0.6523 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03978/0.6845, allocations: 28.76 MB / 0.6804 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.6845, allocations: 0 / 0.6804 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6845, allocations: 4 kB / 0.6804 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0008758/0.6854, allocations: 0 / 0.6804 GB, free: 7.727 MB / 0.5294 GB 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.06413/0.7496, allocations: 19 MB / 0.699 GB, free: 4.598 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.681e-05/0.7496, allocations: 12.03 kB / 0.699 GB, free: 4.586 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009667/0.7593, allocations: 2.013 MB / 0.7009 GB, free: 2.562 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06363/0.823, allocations: 11.49 MB / 0.7122 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5606/1.384, allocations: 8.887 MB / 0.7208 GB, free: 142 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001264/1.385, allocations: 1.057 MB / 0.7219 GB, free: 142 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00683/1.392, allocations: 1.368 MB / 0.7232 GB, free: 141.8 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06443/1.456, allocations: 23.63 MB / 0.7463 GB, free: 132.5 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005951/1.457, allocations: 22.42 kB / 0.7463 GB, free: 132.5 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004962/1.462, allocations: 0.5665 MB / 0.7469 GB, free: 132.1 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006042/1.463, allocations: 0.7005 MB / 0.7476 GB, free: 131.9 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04106/1.504, allocations: 21.75 MB / 0.7688 GB, free: 110.5 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1137/1.617, allocations: 72.04 MB / 0.8391 GB, free: 37.71 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02018/1.638, allocations: 28.68 MB / 0.8672 GB, free: 6.348 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00726/1.645, allocations: 4.965 MB / 0.872 GB, free: 1.359 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03189/1.677, allocations: 16.56 MB / 0.8882 GB, free: 0.5664 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.139e-05/1.677, allocations: 82.11 kB / 0.8883 GB, free: 488 kB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 6.071e-06/1.677, allocations: 3.938 kB / 0.8883 GB, free: 484 kB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03942/1.716, allocations: 15.77 MB / 0.9037 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/1.716, allocations: 128.7 kB / 0.9038 GB, free: 492 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008293/1.725, allocations: 5.109 MB / 0.9088 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0009681/1.726, allocations: 97.7 kB / 0.9089 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.004891/1.731, allocations: 6.101 MB / 0.9148 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002479/1.733, allocations: 1.666 MB / 0.9164 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002786/1.736, allocations: 1.555 MB / 0.918 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.736, allocations: 305.2 kB / 0.9183 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007029/1.743, allocations: 4.144 MB / 0.9223 GB, free: 14.05 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01154/1.755, allocations: 7.275 MB / 0.9294 GB, free: 5.336 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01821/1.773, allocations: 11.95 MB / 0.9411 GB, free: 7.918 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.902e-05/1.773, allocations: 39.88 kB / 0.9411 GB, free: 7.879 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.0252/1.798, allocations: 13.16 MB / 0.954 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.798, allocations: 48.22 kB / 0.954 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001611/1.799, allocations: 108 kB / 0.9541 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00696/1.806, allocations: 3.094 MB / 0.9571 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006191/1.812, allocations: 1.595 MB / 0.9587 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008979/1.813, allocations: 339 kB / 0.959 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006385/1.819, allocations: 1.075 MB / 0.9601 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/1.821, allocations: 387.9 kB / 0.9604 GB, free: 4.035 MB / 0.6544 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.2731/2.094, allocations: 5.386 MB / 0.9657 GB, free: 217 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/2.095, allocations: 0.5244 MB / 0.9662 GB, free: 217 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/2.11, allocations: 9.632 MB / 0.9756 GB, free: 214.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.224e-05/2.11, allocations: 49.47 kB / 0.9757 GB, free: 214.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/2.11, allocations: 1.094 kB / 0.9757 GB, free: 214.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-05/2.11, allocations: 22.78 kB / 0.9757 GB, free: 214.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03036/2.14, allocations: 20.82 MB / 0.996 GB, free: 207.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/2.14, allocations: 0 / 0.996 GB, free: 207.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/2.143, allocations: 0.7415 MB / 0.9967 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00533/2.148, allocations: 2.966 MB / 0.9996 GB, free: 206.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004558/2.149, allocations: 106 kB / 0.9997 GB, free: 206.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005832/2.15, allocations: 152.8 kB / 0.9999 GB, free: 206.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/2.15, allocations: 7.75 kB / 0.9999 GB, free: 206.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/2.167, allocations: 14.26 MB / 1.014 GB, free: 199.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00279/2.17, allocations: 1.39 MB / 1.015 GB, free: 198.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008571/2.171, allocations: 76 kB / 1.015 GB, free: 198.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002671/2.173, allocations: 374.6 kB / 1.016 GB, free: 197.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006496/2.174, allocations: 322.3 kB / 1.016 GB, free: 197.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002967/2.174, allocations: 136.3 kB / 1.016 GB, free: 197.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004286/2.179, allocations: 3.423 MB / 1.019 GB, free: 194.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/2.179, allocations: 0 / 1.019 GB, free: 194.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006953/2.186, allocations: 3.232 MB / 1.023 GB, free: 192 MB / 0.6544 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.01799/2.204, allocations: 14.99 MB / 1.037 GB, free: 177 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01576/2.219, allocations: 9.926 MB / 1.047 GB, free: 167.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/2.219, allocations: 4.062 kB / 1.047 GB, free: 167.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007521/2.227, allocations: 4.458 MB / 1.051 GB, free: 162.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007219/2.234, allocations: 1.278 MB / 1.052 GB, free: 161.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1128/2.347, allocations: 77.83 MB / 1.128 GB, free: 79.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01129/2.358, allocations: 9.006 MB / 1.137 GB, free: 70.79 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006292/2.365, allocations: 2.869 MB / 1.14 GB, free: 67.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006823/2.372, allocations: 4.701 MB / 1.145 GB, free: 63.21 MB / 0.6544 GB Notification: Performance of SimCode: time 1.412e-06/2.372, allocations: 3.938 kB / 1.145 GB, free: 63.21 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5288/2.9, allocations: 177.7 MB / 1.318 GB, free: 150.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.46/27.36, allocations: 4.125 kB / 1.318 GB, free: 150.9 MB / 0.67 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)