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.0008685/0.0008686, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0009126/0.0009126, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.236/1.236, allocations: 223.3 MB / 242.3 MB, free: 228 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.1783/0.1783, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002892, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08782/0.08813, allocations: 61.91 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01881/0.107, allocations: 21.23 MB / 493.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009622/0.1166, allocations: 5.382 MB / 499 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003436/0.1201, allocations: 179.4 kB / 499.1 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003616/0.1237, allocations: 1.431 MB / 0.4888 GB, free: 0.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006622/0.1304, allocations: 2.083 MB / 0.4909 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004106/0.1345, allocations: 1.579 MB / 0.4924 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2028/0.3373, allocations: 14.48 MB / 0.5066 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04388/0.3812, allocations: 33.47 MB / 0.5392 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0063/0.3875, allocations: 5.582 MB / 0.5447 GB, free: 212 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008318/0.3959, allocations: 6.561 MB / 0.5511 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001691/0.3976, allocations: 0.832 MB / 0.5519 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002641/0.4002, allocations: 1.063 MB / 0.5529 GB, free: 9.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002029/0.4023, allocations: 2.702 MB / 0.5556 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006877/0.4092, allocations: 6.664 MB / 0.5621 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02205/0.4312, allocations: 26.89 MB / 0.5884 GB, free: 6.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4313, allocations: 0 / 0.5884 GB, free: 6.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4313, allocations: 0 / 0.5884 GB, free: 6.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005158/0.4318, allocations: 0 / 0.5884 GB, free: 6.66 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: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.0421/0.4739, allocations: 15.52 MB / 0.6035 GB, free: 7.195 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.474, allocations: 12.03 kB / 0.6035 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005447/0.4794, allocations: 2.013 MB / 0.6055 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0584/0.5379, allocations: 11.76 MB / 0.617 GB, free: 9.516 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/0.5533, allocations: 8.563 MB / 0.6253 GB, free: 1.285 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008553/0.5542, allocations: 1.057 MB / 0.6264 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004024/0.5582, allocations: 1.372 MB / 0.6277 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04702/0.6052, allocations: 23.61 MB / 0.6508 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002999/0.6056, allocations: 15.89 kB / 0.6508 GB, free: 7.184 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001983/0.6076, allocations: 0.5731 MB / 0.6513 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005988/0.6082, allocations: 0.6939 MB / 0.652 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04074/0.6489, allocations: 21.75 MB / 0.6733 GB, free: 176 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4828/1.132, allocations: 71.96 MB / 0.7435 GB, free: 129.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01847/1.15, allocations: 28.67 MB / 0.7715 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006521/1.157, allocations: 4.982 MB / 0.7764 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02129/1.178, allocations: 15.71 MB / 0.7917 GB, free: 92.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/1.178, allocations: 81.23 kB / 0.7918 GB, free: 92.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 5.861e-06/1.178, allocations: 0 / 0.7918 GB, free: 92.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03122/1.209, allocations: 15.87 MB / 0.8073 GB, free: 82.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/1.21, allocations: 120.7 kB / 0.8074 GB, free: 82.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00619/1.216, allocations: 5.105 MB / 0.8124 GB, free: 77.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003916/1.216, allocations: 101.7 kB / 0.8125 GB, free: 77.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002384/1.219, allocations: 5.888 MB / 0.8183 GB, free: 71.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.22, allocations: 1.589 MB / 0.8198 GB, free: 69.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000676/1.22, allocations: 0.6002 MB / 0.8204 GB, free: 69.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.125e-05/1.22, allocations: 301.1 kB / 0.8207 GB, free: 68.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004998/1.225, allocations: 4.176 MB / 0.8248 GB, free: 64.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005919/1.231, allocations: 7.289 MB / 0.8319 GB, free: 55.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/1.243, allocations: 11.99 MB / 0.8436 GB, free: 42.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.926e-05/1.243, allocations: 32 kB / 0.8436 GB, free: 42.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01743/1.26, allocations: 13.15 MB / 0.8565 GB, free: 29.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/1.26, allocations: 48 kB / 0.8565 GB, free: 29.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/1.26, allocations: 107.9 kB / 0.8566 GB, free: 29.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005408/1.266, allocations: 3.102 MB / 0.8596 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00535/1.271, allocations: 1.591 MB / 0.8612 GB, free: 24.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02508/1.296, allocations: 21.93 MB / 0.8826 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006043/1.302, allocations: 1.077 MB / 0.8837 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/1.304, allocations: 376 kB / 0.884 GB, free: 0.6602 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 (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.009414/1.313, allocations: 5.398 MB / 0.8893 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001366/1.314, allocations: 0.4937 MB / 0.8898 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01693/1.331, allocations: 9.694 MB / 0.8992 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-05/1.331, allocations: 48 kB / 0.8993 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.331, allocations: 0 / 0.8993 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.232e-05/1.332, allocations: 23.91 kB / 0.8993 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2447/1.576, allocations: 20.86 MB / 0.9197 GB, free: 177.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/1.576, allocations: 0.5625 kB / 0.9197 GB, free: 177.9 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003422/1.58, allocations: 0.7386 MB / 0.9204 GB, free: 177.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006259/1.586, allocations: 2.972 MB / 0.9233 GB, free: 177.8 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00063/1.587, allocations: 99.28 kB / 0.9234 GB, free: 177.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02657/1.613, allocations: 21.69 MB / 0.9446 GB, free: 168.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.613, allocations: 3.469 kB / 0.9446 GB, free: 168.8 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01998/1.633, allocations: 14.28 MB / 0.9585 GB, free: 163.5 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002701/1.636, allocations: 1.39 MB / 0.9599 GB, free: 162.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/1.637, allocations: 75.38 kB / 0.96 GB, free: 162.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003277/1.641, allocations: 401.9 kB / 0.9603 GB, free: 162.7 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/1.642, allocations: 379.3 kB / 0.9607 GB, free: 162.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004032/1.642, allocations: 129.6 kB / 0.9608 GB, free: 162.6 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005564/1.648, allocations: 3.427 MB / 0.9642 GB, free: 161.4 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.2e-07/1.648, allocations: 5.219 kB / 0.9642 GB, free: 161.4 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008681/1.656, allocations: 3.413 MB / 0.9675 GB, free: 160.4 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 (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.01867/1.675, allocations: 15.01 MB / 0.9822 GB, free: 149.8 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01531/1.69, allocations: 11.46 MB / 0.9934 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.69, allocations: 0 / 0.9934 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008245/1.699, allocations: 6.004 MB / 0.9992 GB, free: 132.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006428/1.705, allocations: 1.191 MB / 1 GB, free: 131 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1122/1.817, allocations: 95.72 MB / 1.094 GB, free: 28.35 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007237/1.825, allocations: 9.126 MB / 1.103 GB, free: 19.18 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.00621/1.831, allocations: 2.869 MB / 1.106 GB, free: 16.3 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004208/1.835, allocations: 4.701 MB / 1.11 GB, free: 11.6 MB / 0.5607 GB Notification: Performance of SimCode: time 5.81e-07/1.835, allocations: 0 / 1.11 GB, free: 11.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.284/3.119, allocations: 187.9 MB / 1.294 GB, free: 49.92 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/3.119, allocations: 242.5 kB / 1.294 GB, free: 49.66 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.896/8.015, allocations: 0 / 1.294 GB, free: 49.66 MB / 0.5763 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/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