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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_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.0007488/0.0007488, allocations: 93.62 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009091/0.000909, allocations: 202.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 227.7 MB / 246.8 MB, free: 9.707 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1803/0.1803, allocations: 46.19 MB / 345.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002292/0.0002292, allocations: 4 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09683/0.09707, allocations: 63.56 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01906/0.1162, allocations: 21.25 MB / 0.4926 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.1267, allocations: 5.436 MB / 0.4979 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003667/0.1304, allocations: 179.4 kB / 0.4981 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003862/0.1343, allocations: 1.427 MB / 0.4995 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006924/0.1412, allocations: 1.951 MB / 0.5014 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004518/0.1458, allocations: 1.757 MB / 0.5031 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1964/0.3422, allocations: 14.47 MB / 0.5172 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04464/0.3869, allocations: 33.48 MB / 0.5499 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008708/0.3956, allocations: 5.575 MB / 0.5554 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009506/0.4052, allocations: 6.562 MB / 0.5618 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002181/0.4074, allocations: 0.832 MB / 0.5626 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004249/0.4116, allocations: 1.087 MB / 0.5637 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002791/0.4144, allocations: 2.711 MB / 0.5663 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008399/0.4229, allocations: 6.654 MB / 0.5728 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02317/0.446, allocations: 26.91 MB / 0.5991 GB, free: 11.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4461, allocations: 7.656 kB / 0.5991 GB, free: 11.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4461, allocations: 0 / 0.5991 GB, free: 11.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000559/0.4467, allocations: 0 / 0.5991 GB, free: 11.9 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.04435/0.491, allocations: 15.53 MB / 0.6142 GB, free: 12.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.4911, allocations: 8.875 kB / 0.6143 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006625/0.4977, allocations: 2.008 MB / 0.6162 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0765/0.5742, allocations: 11.79 MB / 0.6277 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0236/0.5979, allocations: 8.552 MB / 0.6361 GB, free: 6.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001517/0.5995, allocations: 1.058 MB / 0.6371 GB, free: 5.449 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005964/0.6054, allocations: 1.375 MB / 0.6385 GB, free: 4.086 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05373/0.6592, allocations: 23.61 MB / 0.6615 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006477/0.6599, allocations: 23.77 kB / 0.6615 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00426/0.6642, allocations: 0.5653 MB / 0.6621 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000776/0.665, allocations: 0.7056 MB / 0.6628 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04307/0.7081, allocations: 21.74 MB / 0.684 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4906/1.199, allocations: 72.92 MB / 0.7552 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01939/1.218, allocations: 28.68 MB / 0.7832 GB, free: 90.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006642/1.225, allocations: 4.99 MB / 0.7881 GB, free: 88.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02462/1.249, allocations: 16.51 MB / 0.8042 GB, free: 77.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/1.25, allocations: 85.95 kB / 0.8043 GB, free: 77.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.061e-06/1.25, allocations: 0 / 0.8043 GB, free: 77.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03223/1.282, allocations: 15.87 MB / 0.8198 GB, free: 62.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.282, allocations: 120.7 kB / 0.8199 GB, free: 62.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006854/1.289, allocations: 5.109 MB / 0.8249 GB, free: 57.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005913/1.289, allocations: 101.7 kB / 0.825 GB, free: 57.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002493/1.292, allocations: 5.89 MB / 0.8307 GB, free: 51.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/1.293, allocations: 1.584 MB / 0.8323 GB, free: 49.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/1.294, allocations: 0.604 MB / 0.8329 GB, free: 49.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.201e-05/1.295, allocations: 305.1 kB / 0.8332 GB, free: 49.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005605/1.3, allocations: 4.172 MB / 0.8372 GB, free: 44.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006683/1.307, allocations: 7.291 MB / 0.8444 GB, free: 36.17 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/1.319, allocations: 11.99 MB / 0.8561 GB, free: 22.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.427e-05/1.319, allocations: 32 kB / 0.8561 GB, free: 22.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01737/1.336, allocations: 13.16 MB / 0.869 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.349e-05/1.336, allocations: 48 kB / 0.869 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001032/1.336, allocations: 104 kB / 0.8691 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005458/1.342, allocations: 3.102 MB / 0.8721 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004836/1.347, allocations: 1.599 MB / 0.8737 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0283/1.375, allocations: 21.93 MB / 0.8951 GB, free: 14.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005876/1.381, allocations: 1.077 MB / 0.8962 GB, free: 13.21 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/1.382, allocations: 376 kB / 0.8965 GB, free: 12.85 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.008492/1.391, allocations: 5.394 MB / 0.9018 GB, free: 7.434 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/1.392, allocations: 0.5014 MB / 0.9023 GB, free: 6.926 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/1.408, allocations: 9.69 MB / 0.9117 GB, free: 13.2 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.889e-05/1.408, allocations: 51.94 kB / 0.9118 GB, free: 13.15 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.408, allocations: 7.984 kB / 0.9118 GB, free: 13.14 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.054e-05/1.408, allocations: 19.92 kB / 0.9118 GB, free: 13.12 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2372/1.645, allocations: 20.85 MB / 0.9322 GB, free: 190.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.645, allocations: 3.281 kB / 0.9322 GB, free: 190.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003097/1.648, allocations: 0.7338 MB / 0.9329 GB, free: 190.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006414/1.655, allocations: 2.962 MB / 0.9358 GB, free: 190.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003577/1.655, allocations: 100.6 kB / 0.9359 GB, free: 190.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02582/1.681, allocations: 21.69 MB / 0.9571 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.681, allocations: 0 / 0.9571 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/1.699, allocations: 14.29 MB / 0.971 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/1.701, allocations: 1.389 MB / 0.9724 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006168/1.702, allocations: 75.38 kB / 0.9724 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/1.704, allocations: 396.5 kB / 0.9728 GB, free: 173.6 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009075/1.705, allocations: 384 kB / 0.9732 GB, free: 173.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000276/1.705, allocations: 132 kB / 0.9733 GB, free: 173.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004016/1.709, allocations: 3.416 MB / 0.9766 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.1e-07/1.71, allocations: 0 / 0.9766 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006923/1.716, allocations: 3.432 MB / 0.98 GB, free: 169.6 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.0167/1.733, allocations: 15.01 MB / 0.9947 GB, free: 154.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01488/1.748, allocations: 11.47 MB / 1.006 GB, free: 143.2 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.748, allocations: 4 kB / 1.006 GB, free: 143.2 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007871/1.756, allocations: 6.013 MB / 1.012 GB, free: 137.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00602/1.762, allocations: 1.19 MB / 1.013 GB, free: 135.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1178/1.88, allocations: 95.83 MB / 1.106 GB, free: 33.17 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01045/1.89, allocations: 9.122 MB / 1.115 GB, free: 24.01 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006957/1.897, allocations: 2.869 MB / 1.118 GB, free: 21.13 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005288/1.903, allocations: 4.698 MB / 1.123 GB, free: 16.43 MB / 0.5763 GB Notification: Performance of SimCode: time 7.12e-07/1.903, allocations: 0 / 1.123 GB, free: 16.43 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4108/2.313, allocations: 188 MB / 1.306 GB, free: 39.87 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/2.314, allocations: 246.2 kB / 1.307 GB, free: 39.61 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.086/7.399, allocations: 0 / 1.307 GB, free: 39.61 MB / 0.5763 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat does not exist to compare? outputFormat=mat