Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 171.8 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009043/0.000904, allocations: 86.7 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.656e-05/3.658e-05, allocations: 4 kB / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08442/0.08447, allocations: 47.58 MB / 370.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2958/0.3803, allocations: 80.4 MB / 450.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.3806, allocations: 70.34 kB / 450.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04527/0.4258, allocations: 18.52 MB / 469.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4259, allocations: 0 / 469.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.582e-05/0.426, allocations: 31.94 kB / 469.1 MB, free: 11.68 MB / 346.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.002291/0.4283, allocations: 1.334 MB / 470.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4283, allocations: 8.031 kB / 470.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002095/0.4285, allocations: 173 kB / 470.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.4288, allocations: 138.4 kB / 470.8 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.4303, allocations: 0.8457 MB / 471.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.429e-05/0.4304, allocations: 94.11 kB / 471.7 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.4305, allocations: 108 kB / 471.8 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.4328, allocations: 1.469 MB / 473.3 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.4328, allocations: 0 / 473.3 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.4329, allocations: 48 kB / 473.3 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.4329, allocations: 24 kB / 473.4 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.4348, allocations: 1.172 MB / 474.5 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006603/0.4414, allocations: 4.267 MB / 478.8 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.4425, allocations: 1.292 MB / 480.1 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006008/0.4431, allocations: 434.6 kB / 480.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.4432, allocations: 8.422 kB / 480.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.4432, allocations: 46.94 kB / 480.6 MB, free: 15.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.274e-06/0.4432, allocations: 0 / 480.6 MB, free: 15.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.002581/0.4458, allocations: 1.631 MB / 482.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.4459, allocations: 59.84 kB / 482.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009917/0.4469, allocations: 0.7299 MB / 483 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.447, allocations: 37.7 kB / 483 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.4474, allocations: 0.5452 MB / 483.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.4475, allocations: 173.5 kB / 483.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.4476, allocations: 12 kB / 483.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.4478, allocations: 386.7 kB / 484.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.4482, allocations: 289 kB / 484.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.4486, allocations: 375.4 kB / 484.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.4491, allocations: 350.9 kB / 485.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4491, allocations: 0 / 485.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001313/0.4504, allocations: 0.885 MB / 486 MB, free: 10.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.4505, allocations: 8 kB / 486 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4505, allocations: 320 / 486 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.4508, allocations: 112.8 kB / 486.1 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.4513, allocations: 127.8 kB / 486.3 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.4535, allocations: 2.174 MB / 488.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.4539, allocations: 23.98 kB / 488.5 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.454, allocations: 20 kB / 488.5 MB, free: 7.547 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0001437/0.4541, allocations: 132.9 kB / 488.6 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.4542, allocations: 71.16 kB / 488.7 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.4544, allocations: 90.84 kB / 488.8 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4545, allocations: 8.062 kB / 488.8 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.4545, allocations: 8.141 kB / 488.8 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4545, allocations: 0 / 488.8 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.4575, allocations: 2.017 MB / 490.8 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4575, allocations: 3.938 kB / 490.8 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.4579, allocations: 91.88 kB / 490.9 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002361/0.4581, allocations: 108.9 kB / 491 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.4582, allocations: 12 kB / 491 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.4602, allocations: 2.127 MB / 493.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4602, allocations: 0 / 493.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.4618, allocations: 1.212 MB / 494.3 MB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.462, allocations: 156.3 kB / 494.5 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.4621, allocations: 15.98 kB / 494.5 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.4625, allocations: 56.02 kB / 494.6 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.4626, allocations: 40.34 kB / 494.6 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.4627, allocations: 19.98 kB / 494.6 MB, free: 1.082 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007857/0.4635, allocations: 0.5733 MB / 495.2 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4635, allocations: 0 / 495.2 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007388/0.4642, allocations: 216 kB / 495.4 MB, free: 308 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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.001908/0.4661, allocations: 2.113 MB / 497.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.4674, allocations: 0.7772 MB / 498.3 MB, free: 13.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4674, allocations: 0 / 498.3 MB, free: 13.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000657/0.4681, allocations: 481.7 kB / 498.8 MB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008536/0.4689, allocations: 167.5 kB / 498.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.4726, allocations: 2.1 MB / 0.4893 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009455/0.4736, allocations: 1.36 MB / 0.4906 GB, free: 9.137 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004878/0.4741, allocations: 181.8 kB / 0.4908 GB, free: 8.957 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/0.4745, allocations: 375.3 kB / 0.4911 GB, free: 8.59 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4746, allocations: 7.938 kB / 0.4912 GB, free: 8.582 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.5106, allocations: 17.79 MB / 0.5085 GB, free: 6.766 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.5108, allocations: 179.1 kB / 0.5087 GB, free: 6.539 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/2.705, allocations: 4 kB / 0.5087 GB, free: 6.535 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat