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.001079/0.001079, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.3 MB / 214.4 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008397/0.0008395, allocations: 82.7 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.799e-05/1.799e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08267/0.08271, allocations: 47.58 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.342/0.4248, allocations: 79.97 MB / 443.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.4251, allocations: 70.5 kB / 443.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04473/0.4698, allocations: 18.32 MB / 461.5 MB, free: 404 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4699, allocations: 0 / 461.5 MB, free: 404 kB / 330.7 MB Notification: Performance of Transformations before backend: time 6.941e-05/0.47, allocations: 35.94 kB / 461.6 MB, free: 368 kB / 330.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.002167/0.4721, allocations: 1.329 MB / 462.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.4722, allocations: 12.03 kB / 462.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.4724, allocations: 138.4 kB / 463 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.4737, allocations: 0.8463 MB / 463.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.4737, allocations: 39.95 kB / 463.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.4739, allocations: 67.88 kB / 464 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001568/0.4754, allocations: 1.119 MB / 465.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.4773, allocations: 1.298 MB / 466.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.4773, allocations: 4 kB / 466.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.4774, allocations: 0 / 466.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.4774, allocations: 32 kB / 466.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005625/0.4831, allocations: 4.049 MB / 470.5 MB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008755/0.484, allocations: 1.274 MB / 471.8 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004965/0.4845, allocations: 415.2 kB / 472.2 MB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.4845, allocations: 11.61 kB / 472.2 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.4846, allocations: 42.86 kB / 472.2 MB, free: 7.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 2.314e-06/0.4846, allocations: 3.938 kB / 472.2 MB, free: 7.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.002241/0.4868, allocations: 1.549 MB / 473.8 MB, free: 6.242 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.4869, allocations: 59.78 kB / 473.8 MB, free: 6.172 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007642/0.4876, allocations: 0.6754 MB / 474.5 MB, free: 5.652 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.4877, allocations: 29.7 kB / 474.5 MB, free: 5.617 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.4881, allocations: 0.541 MB / 475.1 MB, free: 5.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.4882, allocations: 165.5 kB / 475.2 MB, free: 4.926 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.4882, allocations: 0 / 475.2 MB, free: 4.926 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4884, allocations: 382.8 kB / 475.6 MB, free: 4.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.4887, allocations: 273 kB / 475.9 MB, free: 4.277 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.4892, allocations: 366.3 kB / 476.2 MB, free: 3.883 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.4896, allocations: 345.8 kB / 476.6 MB, free: 3.543 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4896, allocations: 7.953 kB / 476.6 MB, free: 3.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001126/0.4907, allocations: 0.8229 MB / 477.4 MB, free: 2.707 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.4908, allocations: 4 kB / 477.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4908, allocations: 4 kB / 477.4 MB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/0.4911, allocations: 104.8 kB / 477.5 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.4916, allocations: 127.9 kB / 477.6 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.4936, allocations: 2.087 MB / 479.7 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.494, allocations: 24 kB / 479.7 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.494, allocations: 19.95 kB / 479.8 MB, free: 232 kB / 346.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.0001321/0.4942, allocations: 117 kB / 479.9 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009105/0.4951, allocations: 0.652 MB / 480.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.4952, allocations: 75.09 kB / 480.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.4954, allocations: 82.61 kB / 480.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4954, allocations: 8 kB / 480.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.4954, allocations: 0 / 480.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4955, allocations: 11.94 kB / 480.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002707/0.4982, allocations: 1.811 MB / 482.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4982, allocations: 0 / 482.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.4985, allocations: 91.89 kB / 482.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002324/0.4988, allocations: 108.8 kB / 482.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.4988, allocations: 8 kB / 482.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.5008, allocations: 2.036 MB / 484.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.5008, allocations: 4.031 kB / 484.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.5023, allocations: 1.173 MB / 485.9 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.5025, allocations: 152.2 kB / 486.1 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/0.5026, allocations: 7.984 kB / 486.1 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.503, allocations: 48.3 kB / 486.1 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-05/0.5031, allocations: 36.38 kB / 486.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.5031, allocations: 16 kB / 486.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006683/0.5038, allocations: 0.5263 MB / 486.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.552e-06/0.5038, allocations: 0 / 486.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000808/0.5046, allocations: 199.9 kB / 486.9 MB, free: 8.785 MB / 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.001807/0.5064, allocations: 2.062 MB / 489 MB, free: 6.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.5075, allocations: 0.7394 MB / 489.7 MB, free: 5.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5075, allocations: 0 / 489.7 MB, free: 5.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006007/0.5081, allocations: 462.9 kB / 490.2 MB, free: 5.441 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.5089, allocations: 141.7 kB / 490.3 MB, free: 5.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.5124, allocations: 2.054 MB / 492.4 MB, free: 3.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009486/0.5133, allocations: 1.359 MB / 493.7 MB, free: 1.805 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000442/0.5138, allocations: 177.5 kB / 493.9 MB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/0.5142, allocations: 379.3 kB / 494.3 MB, free: 1.258 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5142, allocations: 0 / 494.3 MB, free: 1.258 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0399/0.5541, allocations: 16.05 MB / 0.4983 GB, free: 1.188 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/0.5545, allocations: 147.3 kB / 0.4985 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.261/2.816, allocations: 4.031 kB / 0.4985 GB, free: 0.9883 MB / 378.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