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/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 3.2.3+maint.om/package.mo", uses=false) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008959/0.0008959, allocations: 93.5 kB / 16.95 MB, free: 6.836 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.00103/0.00103, allocations: 190.7 kB / 17.84 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004418/0.0004421, allocations: 8 kB / 280.9 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1094, allocations: 47.58 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.003921/0.1133, allocations: 3.199 MB / 331.6 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.1155, allocations: 1.014 MB / 332.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.1158, allocations: 15.88 kB / 332.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.1161, allocations: 111.2 kB / 332.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007261/0.1168, allocations: 262.7 kB / 333 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1171, allocations: 95.89 kB / 333.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.1186, allocations: 1.529 MB / 334.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009196/0.1196, allocations: 0.7625 MB / 335.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006597/0.1202, allocations: 482.2 kB / 335.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008483/0.1211, allocations: 0.642 MB / 336.5 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.1212, allocations: 76 kB / 336.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.1214, allocations: 76 kB / 336.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.1217, allocations: 358.9 kB / 337 MB, free: 11.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.122, allocations: 277 kB / 337.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.1235, allocations: 1.64 MB / 338.9 MB, free: 9.426 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.1235, allocations: 4 kB / 339 MB, free: 9.422 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1235, allocations: 0 / 339 MB, free: 9.422 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.311e-05/0.1236, allocations: 0 / 339 MB, free: 9.422 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.00246/0.126, allocations: 1.477 MB / 340.4 MB, free: 7.891 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1261, allocations: 16.02 kB / 340.4 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/0.1263, allocations: 173.1 kB / 340.6 MB, free: 7.695 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.1266, allocations: 138.4 kB / 340.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.1277, allocations: 0.8064 MB / 341.6 MB, free: 6.711 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/0.1278, allocations: 86.25 kB / 341.6 MB, free: 6.625 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.128, allocations: 108 kB / 341.7 MB, free: 6.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.1305, allocations: 1.564 MB / 343.3 MB, free: 4.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.1305, allocations: 4 kB / 343.3 MB, free: 4.906 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.842e-05/0.1306, allocations: 44 kB / 343.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.1306, allocations: 31.98 kB / 343.4 MB, free: 4.832 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/0.1328, allocations: 1.332 MB / 344.7 MB, free: 3.492 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006628/0.1394, allocations: 4.354 MB / 349.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.1408, allocations: 1.341 MB / 350.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000913/0.1417, allocations: 0.5533 MB / 351 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.1418, allocations: 12.44 kB / 351 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.1418, allocations: 35 kB / 351 MB, free: 12.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 1.944e-06/0.1418, allocations: 0 / 351 MB, free: 12.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.00148/0.1433, allocations: 0.8962 MB / 351.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.1434, allocations: 63.84 kB / 352 MB, free: 11.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.1444, allocations: 0.8203 MB / 352.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.1445, allocations: 37.7 kB / 352.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004212/0.1449, allocations: 0.5376 MB / 353.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.1451, allocations: 177.5 kB / 353.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.1451, allocations: 12 kB / 353.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1453, allocations: 382.8 kB / 353.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.1457, allocations: 308.9 kB / 354.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004995/0.1462, allocations: 402.5 kB / 354.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.1468, allocations: 369.9 kB / 355 MB, free: 8.828 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1468, allocations: 0 / 355 MB, free: 8.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001219/0.148, allocations: 0.8261 MB / 355.8 MB, free: 7.996 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.148, allocations: 8 kB / 355.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1481, allocations: 0 / 355.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.1481, allocations: 8 kB / 355.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.1486, allocations: 151.8 kB / 356 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.1487, allocations: 15.89 kB / 356 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.1491, allocations: 67.5 kB / 356.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.1491, allocations: 20 kB / 356.1 MB, free: 7.73 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.0007469/0.1499, allocations: 465.2 kB / 356.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.15, allocations: 75.09 kB / 356.6 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.1502, allocations: 87.08 kB / 356.7 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.1502, allocations: 8 kB / 356.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.1502, allocations: 0 / 356.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.1502, allocations: 7.938 kB / 356.7 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.153, allocations: 1.966 MB / 358.7 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1531, allocations: 0 / 358.7 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.1535, allocations: 123.8 kB / 358.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.1535, allocations: 4 kB / 358.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.1536, allocations: 19.92 kB / 358.8 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1536, allocations: 4 kB / 358.8 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1536, allocations: 4 kB / 358.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.1551, allocations: 1.141 MB / 360 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.1553, allocations: 172.2 kB / 360.1 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.1553, allocations: 8 kB / 360.1 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.1557, allocations: 63.94 kB / 360.2 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.1558, allocations: 36.38 kB / 360.2 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.1558, allocations: 16 kB / 360.2 MB, free: 3.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008952/0.1567, allocations: 0.5849 MB / 360.8 MB, free: 2.832 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1567, allocations: 0 / 360.8 MB, free: 2.832 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007659/0.1575, allocations: 298.6 kB / 361.1 MB, free: 2.539 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (52): * Single equations (assignments): 52 * 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.001878/0.1594, allocations: 1.694 MB / 362.8 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.1605, allocations: 0.6501 MB / 363.5 MB, free: 156 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1605, allocations: 8.188 kB / 363.5 MB, free: 148 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.161, allocations: 330.2 kB / 363.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008845/0.1619, allocations: 171.2 kB / 364 MB, free: 15.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009876/0.1718, allocations: 6.358 MB / 370.3 MB, free: 9.191 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009919/0.1728, allocations: 1.336 MB / 371.7 MB, free: 7.824 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005944/0.1734, allocations: 209.8 kB / 371.9 MB, free: 7.617 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/0.174, allocations: 387.3 kB / 372.2 MB, free: 7.238 MB / 318.1 MB Notification: Performance of SimCode: time 2.074e-06/0.174, allocations: 0 / 372.2 MB, free: 7.238 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2374/0.4114, allocations: 17.46 MB / 389.7 MB, free: 50.08 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.4116, allocations: 192.3 kB / 389.9 MB, free: 49.84 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/2.636, allocations: 7.703 kB / 389.9 MB, free: 49.84 MB / 318.1 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) Environment - environmentSimulation: 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