Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",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.001404/0.001403, allocations: 178.4 kB / 8.697 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.393/1.393, allocations: 205.3 MB / 214.4 MB, free: 1.742 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.0007885/0.0007885, allocations: 86.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.548e-05, allocations: 0 / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07579/0.07583, allocations: 47.59 MB / 363.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3056/0.3815, allocations: 80.53 MB / 443.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/0.3817, allocations: 68.66 kB / 443.8 MB, free: 14.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04619/0.4279, allocations: 18.8 MB / 462.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4279, allocations: 0 / 462.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.117e-05/0.428, allocations: 31.94 kB / 462.6 MB, free: 15.17 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002327/0.4303, allocations: 1.346 MB / 463.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4304, allocations: 12.03 kB / 464 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.4306, allocations: 142.3 kB / 464.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.4321, allocations: 0.9155 MB / 465 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.4321, allocations: 39.95 kB / 465 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.4323, allocations: 64 kB / 465.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001591/0.4339, allocations: 1.104 MB / 466.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.436, allocations: 1.324 MB / 467.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.436, allocations: 3.938 kB / 467.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.378e-05/0.4361, allocations: 0 / 467.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/0.4361, allocations: 28 kB / 467.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006835/0.443, allocations: 4.104 MB / 471.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.4442, allocations: 1.269 MB / 472.9 MB, free: 6.578 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005822/0.4448, allocations: 432.1 kB / 473.4 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.4448, allocations: 4.438 kB / 473.4 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.4449, allocations: 38.62 kB / 473.4 MB, free: 6.242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 3.487e-06/0.4449, allocations: 0 / 473.4 MB, free: 6.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009468/0.4458, allocations: 0.5641 MB / 474 MB, free: 5.805 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.4459, allocations: 59.84 kB / 474 MB, free: 5.734 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000881/0.4468, allocations: 0.6684 MB / 474.7 MB, free: 5.219 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.4468, allocations: 25.7 kB / 474.7 MB, free: 5.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.4472, allocations: 0.5473 MB / 475.3 MB, free: 4.773 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.4474, allocations: 169.2 kB / 475.4 MB, free: 4.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.4474, allocations: 0 / 475.4 MB, free: 4.625 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002715/0.4477, allocations: 385.7 kB / 475.8 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.4481, allocations: 273.5 kB / 476.1 MB, free: 4.043 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/0.4486, allocations: 361.5 kB / 476.4 MB, free: 3.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.449, allocations: 333.9 kB / 476.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.449, allocations: 0 / 476.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0011/0.4501, allocations: 0.7205 MB / 477.5 MB, free: 2.609 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.4502, allocations: 11.88 kB / 477.5 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.4502, allocations: 8.281 kB / 477.5 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.153e-05/0.4503, allocations: 7.984 kB / 477.5 MB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/0.451, allocations: 147.9 kB / 477.6 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.451, allocations: 7.938 kB / 477.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.4515, allocations: 51.5 kB / 477.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.4515, allocations: 20 kB / 477.7 MB, free: 2.359 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.4517, allocations: 124.8 kB / 477.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009955/0.4527, allocations: 0.5577 MB / 478.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.4529, allocations: 71.16 kB / 478.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.4532, allocations: 82.61 kB / 478.6 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.4532, allocations: 4 kB / 478.6 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4532, allocations: 0 / 478.6 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.4532, allocations: 3.984 kB / 478.6 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.4564, allocations: 1.689 MB / 480.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.4564, allocations: 7.953 kB / 480.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.4569, allocations: 119.9 kB / 480.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.4569, allocations: 4 kB / 480.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.457, allocations: 0 / 480.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.457, allocations: 4 kB / 480.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.457, allocations: 0 / 480.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.4584, allocations: 1.049 MB / 481.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.4586, allocations: 164.2 kB / 481.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.563e-05/0.4587, allocations: 12 kB / 481.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.4591, allocations: 47.94 kB / 481.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/0.4592, allocations: 40.33 kB / 481.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.4593, allocations: 16 kB / 481.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006474/0.4599, allocations: 0.5186 MB / 482.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4599, allocations: 0 / 482.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007743/0.4607, allocations: 258.8 kB / 482.5 MB, free: 13.47 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,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 (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/0.4624, allocations: 1.804 MB / 484.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00083/0.4632, allocations: 0.5815 MB / 484.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4632, allocations: 0 / 484.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003553/0.4636, allocations: 290.1 kB / 485.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008006/0.4644, allocations: 143.2 kB / 485.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/0.4682, allocations: 2.158 MB / 487.4 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009445/0.4692, allocations: 1.363 MB / 488.8 MB, free: 7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005094/0.4697, allocations: 201.5 kB / 489 MB, free: 6.801 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004901/0.4702, allocations: 383.3 kB / 489.4 MB, free: 6.426 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.4702, allocations: 0 / 489.4 MB, free: 6.426 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04237/0.5126, allocations: 15.55 MB / 0.4931 GB, free: 6.852 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.5129, allocations: 150 kB / 0.4932 GB, free: 6.652 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/2.762, allocations: 0 / 0.4932 GB, free: 6.652 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat