Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",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.001187/0.001187, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.276/1.276, allocations: 223.2 MB / 240.3 MB, free: 10.16 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.0009397/0.0009397, allocations: 86.14 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002761, allocations: 8 kB / 351.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2249, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09446/0.3194, allocations: 82.03 MB / 483.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.3197, allocations: 79.95 kB / 483.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04696/0.3666, allocations: 19.41 MB / 0.4913 GB, free: 10.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3667, allocations: 0 / 0.4913 GB, free: 10.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.73e-05/0.3668, allocations: 31.94 kB / 0.4913 GB, free: 10.76 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002463/0.3692, allocations: 1.496 MB / 0.4928 GB, free: 9.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3693, allocations: 8.031 kB / 0.4928 GB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/0.3695, allocations: 185.1 kB / 0.493 GB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.3697, allocations: 138.4 kB / 0.4931 GB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.3713, allocations: 0.9058 MB / 0.494 GB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/0.3714, allocations: 82.25 kB / 0.4941 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.3715, allocations: 112 kB / 0.4942 GB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.3737, allocations: 1.522 MB / 0.4957 GB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.3738, allocations: 3.938 kB / 0.4957 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.3739, allocations: 51.95 kB / 0.4957 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.3739, allocations: 24 kB / 0.4957 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.3758, allocations: 1.223 MB / 0.4969 GB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006597/0.3824, allocations: 4.295 MB / 0.5011 GB, free: 408 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1807/0.5632, allocations: 1.31 MB / 0.5024 GB, free: 91.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-05/0.5633, allocations: 5.094 kB / 0.5024 GB, free: 91.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.969e-05/0.5634, allocations: 40.7 kB / 0.5025 GB, free: 91.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 5.921e-06/0.5634, allocations: 0.5 kB / 0.5025 GB, free: 91.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.002231/0.5657, allocations: 0.8816 MB / 0.5033 GB, free: 91.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.5657, allocations: 56.03 kB / 0.5034 GB, free: 90.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.5671, allocations: 0.7317 MB / 0.5041 GB, free: 90.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.5672, allocations: 35.02 kB / 0.5041 GB, free: 90.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/0.5676, allocations: 0.5432 MB / 0.5046 GB, free: 90.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.5677, allocations: 178.9 kB / 0.5048 GB, free: 90.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.5677, allocations: 10.34 kB / 0.5048 GB, free: 90.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5679, allocations: 388.8 kB / 0.5052 GB, free: 90.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.5684, allocations: 301.4 kB / 0.5055 GB, free: 90.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.5689, allocations: 397.4 kB / 0.5059 GB, free: 90.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/0.5695, allocations: 360.2 kB / 0.5062 GB, free: 90.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.5695, allocations: 8.047 kB / 0.5062 GB, free: 90.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001497/0.571, allocations: 0.8247 MB / 0.507 GB, free: 90.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5711, allocations: 10.62 kB / 0.507 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.5711, allocations: 0.875 kB / 0.507 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.5711, allocations: 7.844 kB / 0.507 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/0.5717, allocations: 152.1 kB / 0.5072 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.5717, allocations: 3.844 kB / 0.5072 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.5721, allocations: 68.06 kB / 0.5073 GB, free: 90.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.5722, allocations: 18.34 kB / 0.5073 GB, free: 90.06 MB / 378.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 () * Number of clocked 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.0006294/0.5728, allocations: 464.6 kB / 0.5077 GB, free: 89.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.573, allocations: 73.12 kB / 0.5078 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.5732, allocations: 96.16 kB / 0.5079 GB, free: 89.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.5732, allocations: 6.75 kB / 0.5079 GB, free: 89.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.5732, allocations: 3.844 kB / 0.5079 GB, free: 89.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5732, allocations: 2.156 kB / 0.5079 GB, free: 89.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/0.576, allocations: 1.921 MB / 0.5098 GB, free: 89.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.576, allocations: 0 / 0.5098 GB, free: 89.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004769/0.5765, allocations: 124 kB / 0.5099 GB, free: 89.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.5765, allocations: 3.781 kB / 0.5099 GB, free: 89.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.5766, allocations: 18.66 kB / 0.5099 GB, free: 89.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.5766, allocations: 3.688 kB / 0.5099 GB, free: 89.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5766, allocations: 0 / 0.5099 GB, free: 89.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.5778, allocations: 1.15 MB / 0.511 GB, free: 89.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.578, allocations: 165.1 kB / 0.5112 GB, free: 89.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.322e-05/0.5781, allocations: 11.28 kB / 0.5112 GB, free: 89.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.5785, allocations: 56.38 kB / 0.5113 GB, free: 89.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/0.5786, allocations: 44.38 kB / 0.5113 GB, free: 89.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.5786, allocations: 14.41 kB / 0.5113 GB, free: 89.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000579/0.5792, allocations: 0.5708 MB / 0.5119 GB, free: 89.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5792, allocations: 0 / 0.5119 GB, free: 89.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006286/0.5798, allocations: 287.8 kB / 0.5121 GB, free: 89 MB / 378.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 () * Number of clocked 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.001393/0.5812, allocations: 1.915 MB / 0.514 GB, free: 87.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008309/0.5821, allocations: 0.6486 MB / 0.5146 GB, free: 87.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5821, allocations: 3.391 kB / 0.5146 GB, free: 87.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.5825, allocations: 321 kB / 0.515 GB, free: 87.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.5831, allocations: 173.5 kB / 0.5151 GB, free: 87.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00775/0.5909, allocations: 7.594 MB / 0.5225 GB, free: 83.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000747/0.5917, allocations: 1.362 MB / 0.5239 GB, free: 82.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004942/0.5922, allocations: 210.4 kB / 0.5241 GB, free: 82.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/0.5926, allocations: 382.5 kB / 0.5244 GB, free: 82.16 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.5926, allocations: 0 / 0.5244 GB, free: 82.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.6224, allocations: 17.24 MB / 0.5413 GB, free: 68.95 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.6226, allocations: 187.6 kB / 0.5414 GB, free: 68.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/2.859, allocations: 0 / 0.5414 GB, free: 68.71 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat