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.0009928/0.0009931, allocations: 93.72 kB / 17 MB, free: 6.797 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.001141/0.001141, allocations: 184.4 kB / 17.89 MB, free: 6.055 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.415/1.415, allocations: 223.2 MB / 241.9 MB, free: 316 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.2243/0.2243, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003054, allocations: 6.031 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1348, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02055/0.1554, allocations: 19.64 MB / 491.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.168, allocations: 5.016 MB / 496.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004922/0.1729, allocations: 171.5 kB / 496.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004989/0.1779, allocations: 1.013 MB / 497.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009683/0.1877, allocations: 1.968 MB / 499.5 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005527/0.1932, allocations: 1.307 MB / 0.489 GB, free: 452 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01907/0.2123, allocations: 13.55 MB / 0.5023 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3797/0.5921, allocations: 26.54 MB / 0.5282 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01205/0.6042, allocations: 5.514 MB / 0.5336 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0123/0.6165, allocations: 6.189 MB / 0.5396 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004543/0.6211, allocations: 0.8333 MB / 0.5404 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009776/0.6309, allocations: 1.05 MB / 0.5414 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007461/0.6384, allocations: 2.652 MB / 0.544 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00779/0.6462, allocations: 2.789 MB / 0.5468 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02655/0.6728, allocations: 24.08 MB / 0.5703 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.6728, allocations: 0 / 0.5703 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6729, allocations: 0 / 0.5703 GB, free: 15.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008757/0.6737, allocations: 0 / 0.5703 GB, free: 15.89 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.0471/0.7209, allocations: 15.66 MB / 0.5856 GB, free: 404 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.863e-05/0.721, allocations: 8.031 kB / 0.5856 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01035/0.7313, allocations: 2.019 MB / 0.5875 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05752/0.7889, allocations: 11.76 MB / 0.599 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02014/0.8091, allocations: 8.441 MB / 0.6073 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001407/0.8105, allocations: 1.057 MB / 0.6083 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006618/0.8172, allocations: 1.381 MB / 0.6097 GB, free: 8.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07501/0.8922, allocations: 23.5 MB / 0.6326 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008879/0.8931, allocations: 18.16 kB / 0.6326 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006491/0.8997, allocations: 0.5683 MB / 0.6332 GB, free: 120 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000915/0.9006, allocations: 0.6978 MB / 0.6339 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05223/0.9529, allocations: 21.63 MB / 0.655 GB, free: 9.781 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7289/1.682, allocations: 71.91 MB / 0.7252 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02672/1.709, allocations: 28.65 MB / 0.7532 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01191/1.721, allocations: 4.963 MB / 0.758 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04867/1.769, allocations: 15.7 MB / 0.7734 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.219e-05/1.769, allocations: 88.48 kB / 0.7734 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 1.349e-05/1.769, allocations: 0 / 0.7734 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.05834/1.828, allocations: 15.6 MB / 0.7887 GB, free: 98.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/1.828, allocations: 121.5 kB / 0.7888 GB, free: 97.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/1.839, allocations: 5.07 MB / 0.7937 GB, free: 95.26 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001115/1.84, allocations: 103.5 kB / 0.7938 GB, free: 95.17 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003637/1.844, allocations: 5.878 MB / 0.7996 GB, free: 90.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001985/1.846, allocations: 1.592 MB / 0.8011 GB, free: 88.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006071/1.847, allocations: 148.3 kB / 0.8013 GB, free: 88.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003743/1.847, allocations: 0.6222 MB / 0.8019 GB, free: 88.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005585/1.853, allocations: 4.147 MB / 0.8059 GB, free: 85.87 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007604/1.86, allocations: 7.258 MB / 0.813 GB, free: 79.47 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007975/1.868, allocations: 5.605 MB / 0.8185 GB, free: 76.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001215/1.868, allocations: 32 kB / 0.8185 GB, free: 76.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02169/1.89, allocations: 13.1 MB / 0.8313 GB, free: 62.94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-05/1.89, allocations: 60.23 kB / 0.8314 GB, free: 62.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/1.89, allocations: 108 kB / 0.8315 GB, free: 62.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00557/1.896, allocations: 3.094 MB / 0.8345 GB, free: 59.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005594/1.901, allocations: 1.599 MB / 0.8361 GB, free: 58.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02535/1.927, allocations: 21.87 MB / 0.8574 GB, free: 35.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008066/1.935, allocations: 1.077 MB / 0.8585 GB, free: 34.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001668/1.937, allocations: 388 kB / 0.8588 GB, free: 34.32 MB / 0.5294 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.01022/1.947, allocations: 5.39 MB / 0.8641 GB, free: 28.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.948, allocations: 0.4938 MB / 0.8646 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.962, allocations: 9.678 MB / 0.874 GB, free: 18.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-05/1.962, allocations: 48 kB / 0.8741 GB, free: 18.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.962, allocations: 4 kB / 0.8741 GB, free: 18.65 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-05/1.962, allocations: 27.91 kB / 0.8741 GB, free: 18.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03631/1.999, allocations: 20.81 MB / 0.8944 GB, free: 13.85 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.999, allocations: 0 / 0.8944 GB, free: 13.85 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003056/2.002, allocations: 0.7372 MB / 0.8952 GB, free: 13.11 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006346/2.008, allocations: 2.969 MB / 0.8981 GB, free: 10.13 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008204/2.009, allocations: 91.98 kB / 0.8981 GB, free: 10.04 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02922/2.038, allocations: 21.67 MB / 0.9193 GB, free: 3.957 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/2.038, allocations: 0 / 0.9193 GB, free: 3.957 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2867/2.325, allocations: 14.24 MB / 0.9332 GB, free: 171.2 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003865/2.329, allocations: 1.384 MB / 0.9346 GB, free: 171.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/2.33, allocations: 84.22 kB / 0.9346 GB, free: 171.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002839/2.333, allocations: 398.8 kB / 0.935 GB, free: 171.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009877/2.334, allocations: 381.5 kB / 0.9354 GB, free: 171.1 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003178/2.334, allocations: 127 kB / 0.9355 GB, free: 171.1 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005637/2.34, allocations: 3.389 MB / 0.9388 GB, free: 170.2 MB / 0.5607 GB Notification: Performance of sort global known variables: time 6.01e-07/2.34, allocations: 2 kB / 0.9388 GB, free: 170.2 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01065/2.351, allocations: 3.412 MB / 0.9421 GB, free: 169.2 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.02109/2.372, allocations: 14.96 MB / 0.9568 GB, free: 163 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01768/2.389, allocations: 11.41 MB / 0.9679 GB, free: 158.7 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/2.389, allocations: 0 / 0.9679 GB, free: 158.7 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01059/2.4, allocations: 5.999 MB / 0.9738 GB, free: 156 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006453/2.407, allocations: 1.219 MB / 0.975 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1022/2.509, allocations: 68.35 MB / 1.042 GB, free: 92.23 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01268/2.521, allocations: 9.118 MB / 1.051 GB, free: 83.07 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006873/2.528, allocations: 2.873 MB / 1.053 GB, free: 80.19 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005533/2.534, allocations: 4.701 MB / 1.058 GB, free: 75.49 MB / 0.5607 GB Notification: Performance of SimCode: time 7.91e-07/2.534, allocations: 0 / 1.058 GB, free: 75.49 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5514/3.085, allocations: 185.6 MB / 1.239 GB, free: 92.74 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/3.086, allocations: 219.3 kB / 1.239 GB, free: 92.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.216/9.301, allocations: 3.625 kB / 1.239 GB, free: 92.5 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