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.0006801/0.0006801, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007806/0.0007806, allocations: 201.5 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.186/1.186, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1692/0.1692, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002091/0.0002091, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08897/0.0892, allocations: 63.55 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01831/0.1075, allocations: 21.25 MB / 0.4926 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008708/0.1163, allocations: 5.432 MB / 0.4979 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.1176, allocations: 183.4 kB / 0.4981 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.1197, allocations: 1.427 MB / 0.4995 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003966/0.1237, allocations: 1.947 MB / 0.5014 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.1269, allocations: 1.764 MB / 0.5031 GB, free: 3.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1886/0.3155, allocations: 14.47 MB / 0.5172 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04525/0.3608, allocations: 33.47 MB / 0.5499 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008322/0.3692, allocations: 5.577 MB / 0.5554 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009652/0.3788, allocations: 6.559 MB / 0.5618 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001592/0.3804, allocations: 0.832 MB / 0.5626 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.3837, allocations: 1.094 MB / 0.5637 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002096/0.3858, allocations: 2.708 MB / 0.5663 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007298/0.3931, allocations: 6.655 MB / 0.5728 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02213/0.4153, allocations: 26.91 MB / 0.5991 GB, free: 11.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4153, allocations: 0 / 0.5991 GB, free: 11.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4153, allocations: 0 / 0.5991 GB, free: 11.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005066/0.4158, allocations: 0 / 0.5991 GB, free: 11.79 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.04116/0.457, allocations: 15.52 MB / 0.6142 GB, free: 12.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4571, allocations: 12.81 kB / 0.6142 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004548/0.4616, allocations: 2.013 MB / 0.6162 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05683/0.5184, allocations: 11.77 MB / 0.6277 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01462/0.5331, allocations: 8.556 MB / 0.6361 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007727/0.5339, allocations: 1.056 MB / 0.6371 GB, free: 5.348 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003321/0.5372, allocations: 1.377 MB / 0.6384 GB, free: 3.984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04104/0.5783, allocations: 23.61 MB / 0.6615 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002505/0.5785, allocations: 19.83 kB / 0.6615 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001418/0.58, allocations: 0.5789 MB / 0.6621 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006069/0.5806, allocations: 0.6978 MB / 0.6628 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03479/0.6154, allocations: 21.74 MB / 0.684 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4328/1.048, allocations: 72.92 MB / 0.7552 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01582/1.064, allocations: 28.67 MB / 0.7832 GB, free: 90.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005158/1.069, allocations: 4.989 MB / 0.7881 GB, free: 87.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01824/1.087, allocations: 16.51 MB / 0.8042 GB, free: 76.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/1.088, allocations: 80.98 kB / 0.8043 GB, free: 76.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 5.099e-06/1.088, allocations: 2.5 kB / 0.8043 GB, free: 76.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.02945/1.117, allocations: 15.87 MB / 0.8198 GB, free: 62.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/1.117, allocations: 128.6 kB / 0.8199 GB, free: 62.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005071/1.122, allocations: 5.105 MB / 0.8249 GB, free: 57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002662/1.122, allocations: 101.7 kB / 0.825 GB, free: 56.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001958/1.124, allocations: 5.889 MB / 0.8307 GB, free: 50.97 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008342/1.125, allocations: 1.592 MB / 0.8323 GB, free: 49.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006427/1.126, allocations: 0.6002 MB / 0.8329 GB, free: 48.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.163e-05/1.126, allocations: 305.1 kB / 0.8332 GB, free: 48.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004531/1.13, allocations: 4.172 MB / 0.8372 GB, free: 44.31 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005446/1.136, allocations: 7.291 MB / 0.8444 GB, free: 35.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/1.146, allocations: 11.99 MB / 0.8561 GB, free: 22.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.311e-05/1.146, allocations: 28 kB / 0.8561 GB, free: 22.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01559/1.162, allocations: 13.16 MB / 0.8689 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.509e-05/1.162, allocations: 52 kB / 0.869 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.952e-05/1.162, allocations: 104 kB / 0.8691 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005167/1.167, allocations: 3.095 MB / 0.8721 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004267/1.172, allocations: 1.599 MB / 0.8737 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02687/1.198, allocations: 21.94 MB / 0.8951 GB, free: 13.71 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005112/1.204, allocations: 1.073 MB / 0.8961 GB, free: 12.63 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005486/1.204, allocations: 384 kB / 0.8965 GB, free: 12.26 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.007352/1.211, allocations: 5.39 MB / 0.9018 GB, free: 6.848 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007995/1.212, allocations: 0.5014 MB / 0.9023 GB, free: 6.34 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/1.227, allocations: 9.693 MB / 0.9117 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.183e-05/1.227, allocations: 48 kB / 0.9118 GB, free: 12.57 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.227, allocations: 0 / 0.9118 GB, free: 12.57 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.98e-05/1.227, allocations: 27.91 kB / 0.9118 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2166/1.444, allocations: 20.84 MB / 0.9322 GB, free: 189.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.444, allocations: 0.875 kB / 0.9322 GB, free: 189.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002875/1.446, allocations: 0.7369 MB / 0.9329 GB, free: 189.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00588/1.452, allocations: 2.962 MB / 0.9358 GB, free: 189.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002798/1.453, allocations: 98.66 kB / 0.9359 GB, free: 189.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0236/1.476, allocations: 21.69 MB / 0.957 GB, free: 178.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.476, allocations: 2 kB / 0.957 GB, free: 178.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/1.493, allocations: 14.29 MB / 0.971 GB, free: 173.1 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/1.495, allocations: 1.38 MB / 0.9723 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005343/1.495, allocations: 89.88 kB / 0.9724 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002406/1.498, allocations: 397.5 kB / 0.9728 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008012/1.498, allocations: 381.1 kB / 0.9732 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002614/1.499, allocations: 133.6 kB / 0.9733 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003551/1.502, allocations: 3.42 MB / 0.9766 GB, free: 171 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.4e-07/1.502, allocations: 0 / 0.9766 GB, free: 171 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006203/1.508, allocations: 3.425 MB / 0.98 GB, free: 168.4 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.01544/1.524, allocations: 15.01 MB / 0.9947 GB, free: 153.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01373/1.538, allocations: 11.45 MB / 1.006 GB, free: 142.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.538, allocations: 5.875 kB / 1.006 GB, free: 142.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007527/1.545, allocations: 6.02 MB / 1.012 GB, free: 136 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005239/1.55, allocations: 1.198 MB / 1.013 GB, free: 134.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09589/1.646, allocations: 95.82 MB / 1.106 GB, free: 32.02 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007048/1.653, allocations: 9.127 MB / 1.115 GB, free: 22.85 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006211/1.66, allocations: 2.865 MB / 1.118 GB, free: 19.98 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004385/1.664, allocations: 4.697 MB / 1.123 GB, free: 15.28 MB / 0.5763 GB Notification: Performance of SimCode: time 1.042e-06/1.664, allocations: 0 / 1.123 GB, free: 15.28 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3823/2.046, allocations: 188 MB / 1.306 GB, free: 39.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/2.047, allocations: 231.4 kB / 1.307 GB, free: 38.84 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.651/6.698, allocations: 2.844 kB / 1.307 GB, free: 38.84 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