Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008999/0.0008996, allocations: 96.56 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 184.1 kB / 17.87 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2363/0.2363, allocations: 44.24 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 61.91 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0184/0.1599, allocations: 18.21 MB / 489.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.1739, allocations: 5.232 MB / 495 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005599/0.1795, allocations: 167.4 kB / 495.1 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004625/0.1842, allocations: 1.084 MB / 496.2 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008621/0.1928, allocations: 1.911 MB / 498.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005088/0.198, allocations: 1.294 MB / 499.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01537/0.2133, allocations: 9.26 MB / 0.4968 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.6129/0.8263, allocations: 26.28 MB / 0.5224 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01132/0.8376, allocations: 5.019 MB / 0.5273 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01241/0.8501, allocations: 5.642 MB / 0.5328 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004583/0.8547, allocations: 0.8307 MB / 0.5337 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008287/0.8631, allocations: 1.018 MB / 0.5347 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007142/0.8702, allocations: 2.576 MB / 0.5372 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007607/0.8779, allocations: 2.789 MB / 0.5399 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02609/0.904, allocations: 24.04 MB / 0.5634 GB, free: 5.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.904, allocations: 1.062 kB / 0.5634 GB, free: 5.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.904, allocations: 0 / 0.5634 GB, free: 5.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.00096/0.905, allocations: 4 kB / 0.5634 GB, free: 5.668 MB / 398.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.05087/0.9559, allocations: 15.64 MB / 0.5786 GB, free: 6.367 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.956, allocations: 8.031 kB / 0.5787 GB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008963/0.9649, allocations: 2.016 MB / 0.5806 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05976/1.025, allocations: 11.77 MB / 0.5921 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02365/1.048, allocations: 8.442 MB / 0.6004 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001864/1.05, allocations: 1.06 MB / 0.6014 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009325/1.06, allocations: 1.38 MB / 0.6027 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07458/1.134, allocations: 23.37 MB / 0.6256 GB, free: 6.426 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006466/1.135, allocations: 19.89 kB / 0.6256 GB, free: 6.406 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006734/1.142, allocations: 0.5706 MB / 0.6261 GB, free: 5.848 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009136/1.143, allocations: 0.7056 MB / 0.6268 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05725/1.2, allocations: 21.6 MB / 0.6479 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4767/1.677, allocations: 71.49 MB / 0.7177 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02646/1.703, allocations: 28.6 MB / 0.7457 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03/1.733, allocations: 15.37 MB / 0.7607 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.939e-05/1.733, allocations: 80.3 kB / 0.7607 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 8.366e-06/1.733, allocations: 1.312 kB / 0.7607 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03369/1.767, allocations: 15.41 MB / 0.7758 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/1.767, allocations: 122.9 kB / 0.7759 GB, free: 107 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008563/1.776, allocations: 5.011 MB / 0.7808 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001165/1.777, allocations: 96.67 kB / 0.7809 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003582/1.781, allocations: 5.892 MB / 0.7867 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002143/1.783, allocations: 1.591 MB / 0.7882 GB, free: 99.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000479/1.783, allocations: 154.2 kB / 0.7884 GB, free: 99.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004076/1.784, allocations: 0.6152 MB / 0.789 GB, free: 98.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006394/1.79, allocations: 4.115 MB / 0.793 GB, free: 96.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01/1.8, allocations: 7.251 MB / 0.8001 GB, free: 90.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009275/1.81, allocations: 5.593 MB / 0.8055 GB, free: 87.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/1.81, allocations: 33.14 kB / 0.8055 GB, free: 87.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.0216/1.831, allocations: 13.08 MB / 0.8183 GB, free: 74.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/1.832, allocations: 53.41 kB / 0.8184 GB, free: 74.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002143/1.832, allocations: 104 kB / 0.8185 GB, free: 74.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005978/1.838, allocations: 3.057 MB / 0.8215 GB, free: 71.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006038/1.844, allocations: 1.614 MB / 0.823 GB, free: 69.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/1.857, allocations: 11.12 MB / 0.8339 GB, free: 58.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007648/1.865, allocations: 1.08 MB / 0.835 GB, free: 57.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001879/1.867, allocations: 380 kB / 0.8353 GB, free: 56.79 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * 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 (820): * Single equations (assignments): 817 * 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.01346/1.88, allocations: 5.39 MB / 0.8406 GB, free: 51.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002035/1.883, allocations: 0.5015 MB / 0.8411 GB, free: 50.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01803/1.901, allocations: 9.587 MB / 0.8504 GB, free: 41.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.325e-05/1.901, allocations: 48 kB / 0.8505 GB, free: 41.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/1.901, allocations: 7.938 kB / 0.8505 GB, free: 41.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.513e-05/1.901, allocations: 23.91 kB / 0.8505 GB, free: 41.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04598/1.947, allocations: 20.58 MB / 0.8706 GB, free: 20.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-05/1.947, allocations: 0 / 0.8706 GB, free: 20.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003336/1.95, allocations: 0.7411 MB / 0.8713 GB, free: 19.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005854/1.956, allocations: 2.922 MB / 0.8742 GB, free: 16.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/1.957, allocations: 95.98 kB / 0.8743 GB, free: 16.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/1.97, allocations: 10.93 MB / 0.8849 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.971, allocations: 4 kB / 0.8849 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02465/1.995, allocations: 14.13 MB / 0.8987 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004552/2, allocations: 1.325 MB / 0.9 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002139/2.002, allocations: 76 kB / 0.9001 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004196/2.006, allocations: 387.6 kB / 0.9005 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001411/2.008, allocations: 343.2 kB / 0.9008 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008687/2.008, allocations: 128 kB / 0.9009 GB, free: 5.305 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007075/2.016, allocations: 3.341 MB / 0.9042 GB, free: 1.969 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.21e-07/2.016, allocations: 4 kB / 0.9042 GB, free: 1.965 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01289/2.029, allocations: 3.253 MB / 0.9074 GB, free: 14.69 MB / 0.5607 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.3205/2.349, allocations: 14.9 MB / 0.9219 GB, free: 173.8 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02671/2.376, allocations: 10.43 MB / 0.9321 GB, free: 173.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/2.376, allocations: 2.422 kB / 0.9321 GB, free: 173.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01094/2.387, allocations: 5.023 MB / 0.937 GB, free: 172.7 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00777/2.395, allocations: 1.131 MB / 0.9381 GB, free: 172.3 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1284/2.523, allocations: 139.6 MB / 1.074 GB, free: 56.34 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.012/2.535, allocations: 9.258 MB / 1.083 GB, free: 48.88 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007371/2.542, allocations: 2.877 MB / 1.086 GB, free: 45.99 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006768/2.549, allocations: 4.682 MB / 1.091 GB, free: 41.31 MB / 0.5607 GB Notification: Performance of SimCode: time 7.02e-07/2.549, allocations: 0 / 1.091 GB, free: 41.31 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4584/3.008, allocations: 171 MB / 1.258 GB, free: 76.99 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/3.008, allocations: 222 kB / 1.258 GB, free: 76.74 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.026/9.034, allocations: 0 / 1.258 GB, free: 76.74 MB / 0.5607 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat does not exist to compare? outputFormat=mat