Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008518/0.0008518, allocations: 105.2 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002687, allocations: 7.984 kB / 351.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2117, allocations: 50.4 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09758/0.3093, allocations: 81.79 MB / 483.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.3096, allocations: 71.95 kB / 483.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04716/0.3568, allocations: 18.96 MB / 0.4906 GB, free: 11.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3568, allocations: 8 kB / 0.4906 GB, free: 11.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.275e-05/0.3569, allocations: 31.94 kB / 0.4907 GB, free: 11.44 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002525/0.3594, allocations: 1.465 MB / 0.4921 GB, free: 9.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3595, allocations: 8.031 kB / 0.4921 GB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002234/0.3597, allocations: 176.9 kB / 0.4923 GB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.3599, allocations: 142.3 kB / 0.4924 GB, free: 9.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.3615, allocations: 0.8531 MB / 0.4932 GB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.976e-05/0.3616, allocations: 82.22 kB / 0.4933 GB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.3617, allocations: 116 kB / 0.4934 GB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.3639, allocations: 1.497 MB / 0.4949 GB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.3639, allocations: 0 / 0.4949 GB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.364, allocations: 47.95 kB / 0.4949 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.3641, allocations: 28 kB / 0.495 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.366, allocations: 1.223 MB / 0.4961 GB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006961/0.3729, allocations: 4.24 MB / 0.5003 GB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1909/0.5639, allocations: 1.307 MB / 0.5016 GB, free: 91.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-05/0.564, allocations: 5.469 kB / 0.5016 GB, free: 91.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.5641, allocations: 39.81 kB / 0.5016 GB, free: 91.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 4.288e-06/0.5641, allocations: 0 / 0.5016 GB, free: 91.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.004238/0.5683, allocations: 1.977 MB / 0.5035 GB, free: 91.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.5684, allocations: 59.78 kB / 0.5036 GB, free: 91.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.5694, allocations: 0.7356 MB / 0.5043 GB, free: 91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.5695, allocations: 36.11 kB / 0.5043 GB, free: 90.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.5698, allocations: 0.5378 MB / 0.5049 GB, free: 90.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.57, allocations: 173.9 kB / 0.505 GB, free: 90.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.57, allocations: 10.06 kB / 0.505 GB, free: 90.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.5702, allocations: 384.3 kB / 0.5054 GB, free: 90.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/0.5707, allocations: 310.7 kB / 0.5057 GB, free: 90.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.5712, allocations: 414.1 kB / 0.5061 GB, free: 90.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005873/0.5718, allocations: 375.4 kB / 0.5065 GB, free: 90.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5718, allocations: 4.844 kB / 0.5065 GB, free: 90.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001215/0.573, allocations: 0.9288 MB / 0.5074 GB, free: 90.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.573, allocations: 6.781 kB / 0.5074 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.573, allocations: 3.969 kB / 0.5074 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002399/0.5733, allocations: 109.7 kB / 0.5075 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.5738, allocations: 128.3 kB / 0.5076 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.5754, allocations: 2.2 MB / 0.5098 GB, free: 88.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.5758, allocations: 32.31 kB / 0.5098 GB, free: 88.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.5758, allocations: 18.25 kB / 0.5098 GB, free: 88.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000593/0.5764, allocations: 457.1 kB / 0.5102 GB, free: 88.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.5765, allocations: 72.28 kB / 0.5103 GB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.5767, allocations: 92.28 kB / 0.5104 GB, free: 88.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.5767, allocations: 6.344 kB / 0.5104 GB, free: 88.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.5767, allocations: 0 / 0.5104 GB, free: 88.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.5767, allocations: 8.172 kB / 0.5104 GB, free: 88.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.5793, allocations: 2.01 MB / 0.5124 GB, free: 88.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5794, allocations: 0 / 0.5124 GB, free: 88.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.5797, allocations: 93.42 kB / 0.5125 GB, free: 88.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.5799, allocations: 103.8 kB / 0.5126 GB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.58, allocations: 15.91 kB / 0.5126 GB, free: 88.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.5814, allocations: 2.152 MB / 0.5147 GB, free: 86.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5814, allocations: 7.859 kB / 0.5147 GB, free: 86.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.5828, allocations: 1.221 MB / 0.5159 GB, free: 85.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.583, allocations: 160 kB / 0.516 GB, free: 85.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.527e-05/0.583, allocations: 18.11 kB / 0.5161 GB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.5834, allocations: 54.08 kB / 0.5161 GB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.5835, allocations: 36.62 kB / 0.5161 GB, free: 85.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.5835, allocations: 18.44 kB / 0.5162 GB, free: 85.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005435/0.5841, allocations: 0.5782 MB / 0.5167 GB, free: 85.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5841, allocations: 0 / 0.5167 GB, free: 85.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007084/0.5848, allocations: 211.4 kB / 0.5169 GB, free: 85.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001542/0.5864, allocations: 1.929 MB / 0.5188 GB, free: 84.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.5875, allocations: 0.8409 MB / 0.5196 GB, free: 83.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5875, allocations: 384 / 0.5196 GB, free: 83.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005924/0.5881, allocations: 493 kB / 0.5201 GB, free: 83.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006811/0.5888, allocations: 165 kB / 0.5203 GB, free: 83.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007271/0.5961, allocations: 7.75 MB / 0.5278 GB, free: 79.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.5968, allocations: 1.354 MB / 0.5291 GB, free: 78.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004323/0.5972, allocations: 198.4 kB / 0.5293 GB, free: 77.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/0.5976, allocations: 378.9 kB / 0.5297 GB, free: 77.64 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5976, allocations: 0 / 0.5297 GB, free: 77.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.626, allocations: 17.83 MB / 0.5471 GB, free: 62.15 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.6262, allocations: 201.7 kB / 0.5473 GB, free: 61.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.814, allocations: 3.062 kB / 0.5473 GB, free: 61.92 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat