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.0007826/0.0007826, allocations: 94.75 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000851/0.000851, allocations: 193.3 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246 MB, free: 11.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 7.938 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 63.46 MB / 481.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01989/0.153, allocations: 19.65 MB / 0.4895 GB, free: 1.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.1643, allocations: 5.078 MB / 0.4945 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004115/0.1685, allocations: 175.4 kB / 0.4947 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004018/0.1725, allocations: 1.009 MB / 0.4957 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00874/0.1813, allocations: 1.842 MB / 0.4975 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006156/0.1875, allocations: 1.464 MB / 0.4989 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2993/0.4868, allocations: 13.54 MB / 0.5121 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05655/0.5434, allocations: 26.54 MB / 0.538 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01255/0.556, allocations: 5.525 MB / 0.5434 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0118/0.5678, allocations: 6.187 MB / 0.5495 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003289/0.5712, allocations: 0.8398 MB / 0.5503 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006306/0.5775, allocations: 1.066 MB / 0.5513 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005071/0.5826, allocations: 2.651 MB / 0.5539 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007447/0.5901, allocations: 2.792 MB / 0.5566 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03027/0.6204, allocations: 24.09 MB / 0.5802 GB, free: 3.973 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.417e-06/0.6204, allocations: 0 / 0.5802 GB, free: 3.973 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.968e-06/0.6204, allocations: 0 / 0.5802 GB, free: 3.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009891/0.6214, allocations: 4 kB / 0.5802 GB, free: 3.969 MB / 414.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.05108/0.6725, allocations: 15.66 MB / 0.5955 GB, free: 4.473 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.974e-05/0.6726, allocations: 12.03 kB / 0.5955 GB, free: 4.461 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01177/0.6844, allocations: 2.011 MB / 0.5974 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05979/0.7443, allocations: 11.77 MB / 0.6089 GB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02/0.7643, allocations: 8.449 MB / 0.6172 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00129/0.7656, allocations: 1.061 MB / 0.6182 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007393/0.773, allocations: 1.373 MB / 0.6196 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07125/0.8443, allocations: 23.5 MB / 0.6425 GB, free: 4.379 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006478/0.845, allocations: 19.89 kB / 0.6425 GB, free: 4.359 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005929/0.851, allocations: 0.5764 MB / 0.6431 GB, free: 3.793 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009168/0.8519, allocations: 0.6978 MB / 0.6438 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0516/0.9035, allocations: 21.63 MB / 0.6649 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7889/1.692, allocations: 72.87 MB / 0.7361 GB, free: 94.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0214/1.714, allocations: 28.64 MB / 0.764 GB, free: 73.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007812/1.722, allocations: 4.965 MB / 0.7689 GB, free: 73.17 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02612/1.748, allocations: 16.51 MB / 0.785 GB, free: 70.45 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.645e-05/1.748, allocations: 81.98 kB / 0.7851 GB, free: 70.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.191e-06/1.748, allocations: 0 / 0.7851 GB, free: 70.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.0326/1.781, allocations: 15.6 MB / 0.8003 GB, free: 65.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/1.781, allocations: 127.4 kB / 0.8004 GB, free: 65.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007856/1.789, allocations: 5.068 MB / 0.8054 GB, free: 62.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.79, allocations: 101.6 kB / 0.8055 GB, free: 62.74 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00346/1.793, allocations: 5.886 MB / 0.8112 GB, free: 57.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002222/1.795, allocations: 1.59 MB / 0.8128 GB, free: 56.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006124/1.796, allocations: 153.7 kB / 0.8129 GB, free: 56.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004204/1.796, allocations: 0.6131 MB / 0.8135 GB, free: 55.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005908/1.802, allocations: 4.148 MB / 0.8176 GB, free: 53.44 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008186/1.811, allocations: 7.256 MB / 0.8247 GB, free: 46.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009323/1.82, allocations: 5.604 MB / 0.8301 GB, free: 40.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001051/1.82, allocations: 32 kB / 0.8302 GB, free: 40.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02246/1.842, allocations: 13.11 MB / 0.843 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.843, allocations: 59.98 kB / 0.843 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001753/1.843, allocations: 104 kB / 0.8431 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005723/1.849, allocations: 3.094 MB / 0.8461 GB, free: 25.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006663/1.855, allocations: 1.598 MB / 0.8477 GB, free: 23.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02599/1.881, allocations: 21.88 MB / 0.8691 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00731/1.889, allocations: 1.08 MB / 0.8701 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001757/1.89, allocations: 384 kB / 0.8705 GB, free: 15.95 MB / 0.5451 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 (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 initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.01202/1.902, allocations: 5.384 MB / 0.8757 GB, free: 10.68 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00155/1.904, allocations: 0.4938 MB / 0.8762 GB, free: 10.18 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01943/1.923, allocations: 9.679 MB / 0.8857 GB, free: 488 kB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.559e-05/1.924, allocations: 54.58 kB / 0.8857 GB, free: 436 kB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/1.924, allocations: 4 kB / 0.8857 GB, free: 432 kB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000102/1.924, allocations: 23.91 kB / 0.8858 GB, free: 408 kB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04737/1.971, allocations: 20.81 MB / 0.9061 GB, free: 11.64 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/1.971, allocations: 0 / 0.9061 GB, free: 11.64 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00325/1.975, allocations: 0.7357 MB / 0.9068 GB, free: 10.94 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007003/1.982, allocations: 2.964 MB / 0.9097 GB, free: 7.969 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001132/1.983, allocations: 95.98 kB / 0.9098 GB, free: 7.875 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0528/2.036, allocations: 21.67 MB / 0.9309 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/2.036, allocations: 0 / 0.9309 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3903/2.426, allocations: 14.23 MB / 0.9448 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004948/2.431, allocations: 1.384 MB / 0.9462 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/2.433, allocations: 80.41 kB / 0.9463 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004016/2.437, allocations: 398.4 kB / 0.9467 GB, free: 196 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001352/2.438, allocations: 387.8 kB / 0.947 GB, free: 196 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004934/2.439, allocations: 129.8 kB / 0.9472 GB, free: 196 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007385/2.446, allocations: 3.388 MB / 0.9505 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.31e-07/2.446, allocations: 0 / 0.9505 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01301/2.459, allocations: 3.423 MB / 0.9538 GB, free: 193.8 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.02814/2.487, allocations: 14.97 MB / 0.9684 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01947/2.507, allocations: 11.4 MB / 0.9795 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/2.507, allocations: 3.906 kB / 0.9796 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01033/2.517, allocations: 6 MB / 0.9854 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008238/2.525, allocations: 1.226 MB / 0.9866 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1343/2.66, allocations: 68.47 MB / 1.053 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01509/2.675, allocations: 9.12 MB / 1.062 GB, free: 106.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008916/2.684, allocations: 2.873 MB / 1.065 GB, free: 103.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009454/2.693, allocations: 4.697 MB / 1.07 GB, free: 98.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.583e-06/2.693, allocations: 0 / 1.07 GB, free: 98.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5351/3.228, allocations: 185.6 MB / 1.251 GB, free: 119.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/3.229, allocations: 227.3 kB / 1.251 GB, free: 119.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.174/9.402, allocations: 0 / 1.251 GB, free: 119.2 MB / 0.5919 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/linux/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