Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_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.000914/0.0009139, allocations: 102.3 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 184.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.4 MB / 223.1 MB, free: 5.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2898/0.2898, allocations: 43.58 MB / 315 MB, free: 8.73 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004621, allocations: 12 kB / 384.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08985/0.09033, allocations: 58.87 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.1847/0.2751, allocations: 21.4 MB / 464.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009129/0.2842, allocations: 5.411 MB / 470.4 MB, free: 35.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003503/0.2878, allocations: 154.8 kB / 470.5 MB, free: 35.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003371/0.2912, allocations: 1.442 MB / 472 MB, free: 34.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006288/0.2975, allocations: 2.17 MB / 474.1 MB, free: 33.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003678/0.3012, allocations: 1.579 MB / 475.7 MB, free: 33.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.3125, allocations: 14.74 MB / 490.4 MB, free: 26.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05033/0.3628, allocations: 33.51 MB / 0.5117 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008459/0.3713, allocations: 5.648 MB / 0.5172 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/0.3819, allocations: 6.68 MB / 0.5237 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003047/0.3849, allocations: 0.8437 MB / 0.5245 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004926/0.3899, allocations: 1.067 MB / 0.5256 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004148/0.394, allocations: 2.764 MB / 0.5283 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01126/0.4053, allocations: 6.744 MB / 0.5349 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02577/0.4311, allocations: 26.92 MB / 0.5611 GB, free: 8.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4312, allocations: 0 / 0.5611 GB, free: 8.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.4312, allocations: 0 / 0.5611 GB, free: 8.012 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000694/0.4319, allocations: 0 / 0.5611 GB, free: 8.012 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.04337/0.4752, allocations: 15.7 MB / 0.5765 GB, free: 8.211 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4753, allocations: 8.031 kB / 0.5765 GB, free: 8.203 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006078/0.4814, allocations: 2.054 MB / 0.5785 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06465/0.5461, allocations: 12.75 MB / 0.5909 GB, free: 9.352 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01478/0.5609, allocations: 7.909 MB / 0.5987 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009565/0.5619, allocations: 1.071 MB / 0.5997 GB, free: 292 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004612/0.5665, allocations: 1.398 MB / 0.6011 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05132/0.6178, allocations: 24.12 MB / 0.6246 GB, free: 6.664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000405/0.6183, allocations: 19.81 kB / 0.6247 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003194/0.6215, allocations: 0.582 MB / 0.6252 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006513/0.6221, allocations: 0.7335 MB / 0.6259 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3699/0.9921, allocations: 22.5 MB / 0.6479 GB, free: 109.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1085/1.101, allocations: 73.53 MB / 0.7197 GB, free: 66.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0195/1.12, allocations: 31.62 MB / 0.7506 GB, free: 34.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007039/1.127, allocations: 5.092 MB / 0.7556 GB, free: 29.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0242/1.151, allocations: 15.85 MB / 0.771 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/1.152, allocations: 86.11 kB / 0.7711 GB, free: 13.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=465): time 6.001e-06/1.152, allocations: 4 kB / 0.7711 GB, free: 13.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=465): time 0.03279/1.184, allocations: 15.82 MB / 0.7866 GB, free: 13.46 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/1.184, allocations: 128.6 kB / 0.7867 GB, free: 13.32 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008702/1.193, allocations: 5.252 MB / 0.7918 GB, free: 8.066 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0008017/1.194, allocations: 97.7 kB / 0.7919 GB, free: 7.965 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004032/1.198, allocations: 6.037 MB / 0.7978 GB, free: 1.895 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002151/1.2, allocations: 1.594 MB / 0.7994 GB, free: 320 kB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001596/1.202, allocations: 0.6282 MB / 0.8 GB, free: 15.68 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 8.571e-05/1.202, allocations: 305.1 kB / 0.8003 GB, free: 15.38 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006892/1.209, allocations: 4.227 MB / 0.8044 GB, free: 11.15 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0088/1.218, allocations: 7.591 MB / 0.8118 GB, free: 1.98 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01528/1.233, allocations: 12.37 MB / 0.8239 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.485e-05/1.233, allocations: 32 kB / 0.8239 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02268/1.256, allocations: 13.51 MB / 0.8371 GB, free: 6.461 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001685/1.256, allocations: 52 kB / 0.8372 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000171/1.256, allocations: 116.1 kB / 0.8373 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006397/1.263, allocations: 3.098 MB / 0.8403 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005801/1.268, allocations: 1.669 MB / 0.8419 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.211/1.479, allocations: 21.94 MB / 0.8634 GB, free: 158.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006319/1.486, allocations: 1.128 MB / 0.8645 GB, free: 158.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/1.487, allocations: 403.1 kB / 0.8649 GB, free: 158.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (853): * Single equations (assignments): 850 * 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.009093/1.496, allocations: 5.462 MB / 0.8702 GB, free: 155.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001387/1.498, allocations: 0.505 MB / 0.8707 GB, free: 155.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01707/1.515, allocations: 9.72 MB / 0.8802 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.312e-05/1.515, allocations: 47.12 kB / 0.8802 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.515, allocations: 1.859 kB / 0.8802 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.418e-05/1.515, allocations: 27.09 kB / 0.8802 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0352/1.55, allocations: 20.95 MB / 0.9007 GB, free: 144.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.55, allocations: 0.5625 kB / 0.9007 GB, free: 144.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003025/1.553, allocations: 0.7427 MB / 0.9014 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005377/1.559, allocations: 2.958 MB / 0.9043 GB, free: 143.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005503/1.559, allocations: 102.4 kB / 0.9044 GB, free: 143.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0236/1.583, allocations: 21.68 MB / 0.9256 GB, free: 132.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/1.583, allocations: 4 kB / 0.9256 GB, free: 132.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01656/1.599, allocations: 14.24 MB / 0.9395 GB, free: 119.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002389/1.602, allocations: 1.407 MB / 0.9409 GB, free: 117.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006321/1.602, allocations: 76 kB / 0.9409 GB, free: 117.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/1.605, allocations: 399.4 kB / 0.9413 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000887/1.606, allocations: 379.6 kB / 0.9417 GB, free: 116.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/1.606, allocations: 132 kB / 0.9418 GB, free: 116.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004148/1.61, allocations: 3.501 MB / 0.9452 GB, free: 113.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/1.61, allocations: 0 / 0.9452 GB, free: 113.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008031/1.618, allocations: 3.468 MB / 0.9486 GB, free: 109.8 MB / 0.545 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.0169/1.635, allocations: 14.95 MB / 0.9632 GB, free: 94.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01666/1.652, allocations: 11.6 MB / 0.9745 GB, free: 83.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.652, allocations: 0 / 0.9745 GB, free: 83.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008526/1.661, allocations: 6.009 MB / 0.9804 GB, free: 77.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00691/1.668, allocations: 1.203 MB / 0.9816 GB, free: 75.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3116/1.979, allocations: 98.35 MB / 1.078 GB, free: 137.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01436/1.994, allocations: 9.224 MB / 1.087 GB, free: 134.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008499/2.002, allocations: 2.941 MB / 1.09 GB, free: 134.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007615/2.01, allocations: 4.824 MB / 1.094 GB, free: 130.2 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/2.01, allocations: 1.156 kB / 1.094 GB, free: 130.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4212/2.431, allocations: 190 MB / 1.28 GB, free: 132 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/2.431, allocations: 234.5 kB / 1.28 GB, free: 131.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.994/7.425, allocations: 3.828 kB / 1.28 GB, free: 131.8 MB / 0.5607 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat does not exist to compare? outputFormat=mat