Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_cpp_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.00241/0.002409, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.492/2.492, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 95.05 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.252e-05, allocations: 8 kB / 314.9 MB, free: 9.07 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3593, allocations: 47.56 MB / 362.4 MB, free: 45.77 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.4932, allocations: 79.75 MB / 442.2 MB, free: 6.48 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.4936, allocations: 71.97 kB / 442.2 MB, free: 6.41 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08056/0.5741, allocations: 18.33 MB / 460.6 MB, free: 4.043 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5742, allocations: 0 / 460.6 MB, free: 4.043 MB / 347.1 MB Notification: Performance of Transformations before backend: time 0.0001339/0.5744, allocations: 28 kB / 460.6 MB, free: 4.016 MB / 347.1 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.004719/0.5791, allocations: 1.328 MB / 461.9 MB, free: 2.641 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.5792, allocations: 8.031 kB / 461.9 MB, free: 2.633 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/0.5798, allocations: 138.4 kB / 462.1 MB, free: 2.496 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.5826, allocations: 0.8611 MB / 462.9 MB, free: 1.59 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.954e-05/0.5827, allocations: 39.95 kB / 463 MB, free: 1.551 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/0.583, allocations: 64 kB / 463 MB, free: 1.488 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003537/0.5866, allocations: 1.113 MB / 464.1 MB, free: 376 kB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004161/0.5908, allocations: 1.302 MB / 465.4 MB, free: 15 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.5909, allocations: 0 / 465.4 MB, free: 15 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.5911, allocations: 4 kB / 465.4 MB, free: 14.99 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/0.5911, allocations: 32 kB / 465.5 MB, free: 14.96 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/0.6035, allocations: 4.049 MB / 469.5 MB, free: 10.8 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.6054, allocations: 1.268 MB / 470.8 MB, free: 9.363 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.6067, allocations: 426.6 kB / 471.2 MB, free: 8.941 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.734e-05/0.6068, allocations: 8.438 kB / 471.2 MB, free: 8.93 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.6068, allocations: 35 kB / 471.3 MB, free: 8.887 MB / 363.1 MB Notification: Performance of pre-optimization done (n=49): time 6.693e-06/0.6069, allocations: 0 / 471.3 MB, free: 8.887 MB / 363.1 MB Notification: Performance of matching and sorting (n=51): time 0.004521/0.6114, allocations: 1.552 MB / 472.8 MB, free: 7.273 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.6115, allocations: 67.77 kB / 472.9 MB, free: 7.195 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.6132, allocations: 0.6751 MB / 473.5 MB, free: 6.516 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001628/0.6134, allocations: 25.7 kB / 473.6 MB, free: 6.484 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006161/0.6141, allocations: 0.5555 MB / 474.1 MB, free: 5.922 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.6144, allocations: 177.4 kB / 474.3 MB, free: 5.746 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.6145, allocations: 0 / 474.3 MB, free: 5.746 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.6147, allocations: 334.8 kB / 474.6 MB, free: 5.41 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006788/0.6154, allocations: 269 kB / 474.9 MB, free: 5.148 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007869/0.6162, allocations: 366.3 kB / 475.2 MB, free: 4.754 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008473/0.6171, allocations: 345.9 kB / 475.6 MB, free: 4.414 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.6171, allocations: 3.953 kB / 475.6 MB, free: 4.41 MB / 363.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002119/0.6193, allocations: 0.7765 MB / 476.4 MB, free: 3.629 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.6194, allocations: 8 kB / 476.4 MB, free: 3.621 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.6194, allocations: 3.984 kB / 476.4 MB, free: 3.617 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/0.6199, allocations: 104.8 kB / 476.5 MB, free: 3.512 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.621, allocations: 127.9 kB / 476.6 MB, free: 3.387 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.6246, allocations: 2.091 MB / 478.7 MB, free: 1.184 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008708/0.6255, allocations: 15.98 kB / 478.7 MB, free: 1.168 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/0.6256, allocations: 23.95 kB / 478.7 MB, free: 1.145 MB / 363.1 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.0002275/0.6259, allocations: 113 kB / 478.8 MB, free: 1.027 MB / 363.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001821/0.6277, allocations: 0.6521 MB / 479.5 MB, free: 376 kB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.628, allocations: 71.16 kB / 479.6 MB, free: 304 kB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.6284, allocations: 86.55 kB / 479.7 MB, free: 208 kB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.6284, allocations: 4 kB / 479.7 MB, free: 204 kB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.6284, allocations: 4 kB / 479.7 MB, free: 200 kB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.6284, allocations: 7.938 kB / 479.7 MB, free: 192 kB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005415/0.6339, allocations: 1.802 MB / 481.5 MB, free: 14.32 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.6339, allocations: 8 kB / 481.5 MB, free: 14.31 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007488/0.6347, allocations: 91.88 kB / 481.6 MB, free: 14.22 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/0.6351, allocations: 104.9 kB / 481.7 MB, free: 14.12 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.921e-05/0.6352, allocations: 8.172 kB / 481.7 MB, free: 14.11 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003314/0.6386, allocations: 2.04 MB / 483.7 MB, free: 11.95 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/0.6386, allocations: 3.984 kB / 483.7 MB, free: 11.95 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.6413, allocations: 1.177 MB / 484.9 MB, free: 10.7 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/0.6418, allocations: 160.3 kB / 485.1 MB, free: 10.52 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.642, allocations: 4 kB / 485.1 MB, free: 10.52 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008571/0.6428, allocations: 44.02 kB / 485.1 MB, free: 10.48 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.643, allocations: 44.38 kB / 485.1 MB, free: 10.43 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/0.6431, allocations: 19.98 kB / 485.2 MB, free: 10.41 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.001303/0.6444, allocations: 0.5264 MB / 485.7 MB, free: 9.895 MB / 379.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.6445, allocations: 0 / 485.7 MB, free: 9.895 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001362/0.6459, allocations: 192 kB / 485.9 MB, free: 9.707 MB / 379.1 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.003063/0.649, allocations: 2.046 MB / 487.9 MB, free: 7.594 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.001941/0.651, allocations: 0.7472 MB / 488.7 MB, free: 6.836 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.651, allocations: 4 kB / 488.7 MB, free: 6.832 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.6522, allocations: 458.9 kB / 489.1 MB, free: 6.371 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.6537, allocations: 137.1 kB / 489.3 MB, free: 6.238 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006369/0.6601, allocations: 2.033 MB / 491.3 MB, free: 4.145 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/0.6617, allocations: 1.336 MB / 492.6 MB, free: 2.777 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009149/0.6626, allocations: 383.2 kB / 493 MB, free: 2.402 MB / 379.1 MB Notification: Performance of SimCode: time 1.433e-06/0.6627, allocations: 4 kB / 493 MB, free: 2.398 MB / 379.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.17/3.832, allocations: 24.08 MB / 0.505 GB, free: 117.6 MB / 395.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat