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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 94.3 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 179.8 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003124, allocations: 6.031 kB / 300.8 MB, free: 6.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.123, allocations: 50.43 MB / 351.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004246/0.1273, allocations: 3.064 MB / 354.3 MB, free: 8.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.1296, allocations: 0.9743 MB / 355.3 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005498/0.1302, allocations: 19.88 kB / 355.3 MB, free: 7.555 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.1307, allocations: 127.3 kB / 355.4 MB, free: 7.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.1317, allocations: 223.3 kB / 355.6 MB, free: 7.211 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.132, allocations: 79.91 kB / 355.7 MB, free: 7.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.1332, allocations: 0.8652 MB / 356.6 MB, free: 6.266 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009935/0.1342, allocations: 0.8378 MB / 357.4 MB, free: 5.406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005654/0.1348, allocations: 442.5 kB / 357.8 MB, free: 4.973 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006918/0.1355, allocations: 0.533 MB / 358.4 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.1356, allocations: 72 kB / 358.4 MB, free: 4.367 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1357, allocations: 72 kB / 358.5 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003932/0.1361, allocations: 339 kB / 358.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.1364, allocations: 269.1 kB / 359.1 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.1377, allocations: 1.64 MB / 360.7 MB, free: 2.051 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1377, allocations: 0 / 360.7 MB, free: 2.051 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1377, allocations: 0 / 360.7 MB, free: 2.051 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.405e-05/0.1378, allocations: 0 / 360.7 MB, free: 2.051 MB / 286.1 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.002762/0.1405, allocations: 1.512 MB / 362.3 MB, free: 496 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.1406, allocations: 12.03 kB / 362.3 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002358/0.1408, allocations: 181 kB / 362.5 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.1411, allocations: 138.4 kB / 362.6 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.1425, allocations: 0.8259 MB / 363.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.1426, allocations: 86.19 kB / 363.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.1428, allocations: 108 kB / 363.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.1453, allocations: 1.557 MB / 365.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.1454, allocations: 0 / 365.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.1455, allocations: 51.95 kB / 365.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.1455, allocations: 24 kB / 365.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.1477, allocations: 1.344 MB / 366.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007328/0.1551, allocations: 4.353 MB / 370.9 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.1565, allocations: 1.347 MB / 372.3 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.1565, allocations: 4.438 kB / 372.3 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.738e-05/0.1566, allocations: 39 kB / 372.3 MB, free: 6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.585e-06/0.1566, allocations: 0 / 372.3 MB, free: 6 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001543/0.1581, allocations: 0.9081 MB / 373.2 MB, free: 5.082 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.1582, allocations: 59.84 kB / 373.3 MB, free: 5.012 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.1593, allocations: 0.8126 MB / 374.1 MB, free: 4.191 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.1594, allocations: 33.7 kB / 374.1 MB, free: 4.152 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/0.1598, allocations: 0.5493 MB / 374.7 MB, free: 3.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.16, allocations: 177.4 kB / 374.9 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.1601, allocations: 15.94 kB / 374.9 MB, free: 3.402 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.1603, allocations: 386.8 kB / 375.2 MB, free: 3.016 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/0.1608, allocations: 308.9 kB / 375.5 MB, free: 2.715 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.1613, allocations: 402.5 kB / 375.9 MB, free: 2.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/0.1619, allocations: 377.9 kB / 376.3 MB, free: 1.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1619, allocations: 3.953 kB / 376.3 MB, free: 1.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001409/0.1633, allocations: 0.8418 MB / 377.2 MB, free: 1.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.1634, allocations: 12.03 kB / 377.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.1634, allocations: 0 / 377.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.1634, allocations: 8 kB / 377.2 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/0.1641, allocations: 147.8 kB / 377.3 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.1641, allocations: 11.98 kB / 377.3 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.1645, allocations: 59.42 kB / 377.4 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.1646, allocations: 23.98 kB / 377.4 MB, free: 0.8164 MB / 302.1 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.0006963/0.1653, allocations: 461.5 kB / 377.9 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.1654, allocations: 83.03 kB / 377.9 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.1656, allocations: 95.06 kB / 378 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.1656, allocations: 8 kB / 378 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.1656, allocations: 0 / 378 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1656, allocations: 0 / 378 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003305/0.1689, allocations: 1.965 MB / 380 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.169, allocations: 0 / 380 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.1695, allocations: 120 kB / 380.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.1695, allocations: 4 kB / 380.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.1696, allocations: 11.98 kB / 380.1 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.1696, allocations: 11.89 kB / 380.2 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1696, allocations: 4 kB / 380.2 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.1713, allocations: 1.174 MB / 381.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.1716, allocations: 172.2 kB / 381.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.1717, allocations: 11.98 kB / 381.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.1721, allocations: 55.95 kB / 381.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1722, allocations: 40.31 kB / 381.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.1723, allocations: 16 kB / 381.6 MB, free: 12.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009498/0.1732, allocations: 0.581 MB / 382.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1732, allocations: 0 / 382.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007737/0.174, allocations: 286.8 kB / 382.5 MB, free: 11.6 MB / 318.1 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.002017/0.176, allocations: 1.937 MB / 384.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.1773, allocations: 0.6693 MB / 385.1 MB, free: 8.945 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.1773, allocations: 4 kB / 385.1 MB, free: 8.941 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005012/0.1778, allocations: 335 kB / 385.4 MB, free: 8.613 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008092/0.1786, allocations: 163 kB / 385.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.1892, allocations: 7.652 MB / 393.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.1903, allocations: 1.36 MB / 394.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000607/0.1909, allocations: 209.8 kB / 394.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005721/0.1915, allocations: 383.3 kB / 395.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1915, allocations: 0 / 395.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.224, allocations: 17.39 MB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.2242, allocations: 186 kB / 412.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.277, allocations: 0 / 412.7 MB, free: 13.34 MB / 350.1 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