Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",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.0009628/0.0009626, allocations: 95.77 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.0009602/0.0009603, allocations: 182.5 kB / 17.19 MB, free: 5.906 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.401/1.401, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002724, allocations: 8.531 kB / 300.8 MB, free: 5.945 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1054, allocations: 50.42 MB / 351.2 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003727/0.1091, allocations: 3.041 MB / 354.3 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1109, allocations: 0.9393 MB / 355.2 MB, free: 7.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.1112, allocations: 19.88 kB / 355.2 MB, free: 7.641 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.1115, allocations: 123.3 kB / 355.3 MB, free: 7.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000635/0.1121, allocations: 219.4 kB / 355.6 MB, free: 7.305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.1123, allocations: 87.84 kB / 355.6 MB, free: 7.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000892/0.1132, allocations: 0.8537 MB / 356.5 MB, free: 6.363 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008918/0.1141, allocations: 0.7942 MB / 357.3 MB, free: 5.543 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004648/0.1146, allocations: 438.4 kB / 357.7 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005923/0.1152, allocations: 0.5174 MB / 358.2 MB, free: 4.594 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.1153, allocations: 76 kB / 358.3 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1155, allocations: 68 kB / 358.4 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.1158, allocations: 327 kB / 358.7 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.116, allocations: 273 kB / 359 MB, free: 3.859 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.1174, allocations: 1.617 MB / 360.6 MB, free: 2.238 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1174, allocations: 3.938 kB / 360.6 MB, free: 2.234 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1174, allocations: 0 / 360.6 MB, free: 2.234 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.57e-05/0.1174, allocations: 0 / 360.6 MB, free: 2.234 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002529/0.12, allocations: 1.469 MB / 362.1 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.12, allocations: 8.031 kB / 362.1 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002125/0.1202, allocations: 177 kB / 362.2 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.1204, allocations: 142.3 kB / 362.4 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.1218, allocations: 0.8258 MB / 363.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.781e-05/0.1219, allocations: 82.22 kB / 363.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.1221, allocations: 108 kB / 363.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.1244, allocations: 1.54 MB / 364.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.1244, allocations: 0 / 364.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.97e-05/0.1245, allocations: 47.94 kB / 365 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.1246, allocations: 31.98 kB / 365 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.1267, allocations: 1.32 MB / 366.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006441/0.1331, allocations: 4.236 MB / 370.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.1342, allocations: 1.323 MB / 371.9 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1343, allocations: 4.438 kB / 371.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1343, allocations: 42.95 kB / 371.9 MB, free: 6.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.034e-06/0.1343, allocations: 0 / 371.9 MB, free: 6.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.003212/0.1376, allocations: 1.978 MB / 373.9 MB, free: 4.383 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.1376, allocations: 55.84 kB / 374 MB, free: 4.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.1387, allocations: 0.8203 MB / 374.8 MB, free: 3.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.1387, allocations: 37.7 kB / 374.8 MB, free: 3.445 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/0.1392, allocations: 0.5376 MB / 375.4 MB, free: 2.898 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.1394, allocations: 173.5 kB / 375.5 MB, free: 2.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.1394, allocations: 12 kB / 375.5 MB, free: 2.715 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.1396, allocations: 378.8 kB / 375.9 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.1401, allocations: 312.8 kB / 376.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/0.1406, allocations: 419.3 kB / 376.6 MB, free: 1.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.1412, allocations: 370 kB / 377 MB, free: 1.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1413, allocations: 8 kB / 377 MB, free: 1.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001448/0.1427, allocations: 0.9321 MB / 377.9 MB, free: 288 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.1427, allocations: 7.953 kB / 377.9 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1428, allocations: 4 kB / 377.9 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002964/0.1431, allocations: 112.7 kB / 378 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.1436, allocations: 124 kB / 378.2 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.1459, allocations: 2.189 MB / 380.4 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.1464, allocations: 36 kB / 380.4 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.1464, allocations: 20 kB / 380.4 MB, free: 13.65 MB / 318.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0007634/0.1472, allocations: 457.5 kB / 380.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.1473, allocations: 71.16 kB / 380.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.1475, allocations: 95.06 kB / 381 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1475, allocations: 4 kB / 381 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.1475, allocations: 0 / 381 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1475, allocations: 4.25 kB / 381 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.1508, allocations: 2.012 MB / 383 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.1509, allocations: 4 kB / 383 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.1512, allocations: 91.88 kB / 383.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.1515, allocations: 104.7 kB / 383.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.1515, allocations: 12.06 kB / 383.2 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.1538, allocations: 2.154 MB / 385.4 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.1538, allocations: 4.031 kB / 385.4 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.1555, allocations: 1.227 MB / 386.6 MB, free: 7.164 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.1558, allocations: 168.2 kB / 386.8 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-05/0.1559, allocations: 8 kB / 386.8 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.1563, allocations: 56.02 kB / 386.9 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.1564, allocations: 40.33 kB / 386.9 MB, free: 6.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.1564, allocations: 16 kB / 386.9 MB, free: 6.859 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007379/0.1572, allocations: 0.5847 MB / 387.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1572, allocations: 0 / 387.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007935/0.158, allocations: 208 kB / 387.7 MB, free: 6.082 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (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 (41): * Single equations (assignments): 40 * 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.002036/0.16, allocations: 1.925 MB / 389.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.1614, allocations: 0.8322 MB / 390.5 MB, free: 3.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1615, allocations: 0 / 390.5 MB, free: 3.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007039/0.1622, allocations: 492.8 kB / 390.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007364/0.1629, allocations: 171.4 kB / 391.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009618/0.1725, allocations: 7.731 MB / 398.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.1737, allocations: 1.364 MB / 400.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005327/0.1743, allocations: 189.6 kB / 400.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/0.1747, allocations: 371.3 kB / 400.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of SimCode: time 1.436e-05/0.1748, allocations: 4 kB / 400.8 MB, free: 8.805 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.2082, allocations: 17.8 MB / 418.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.2084, allocations: 202.5 kB / 418.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.394, allocations: 0 / 418.7 MB, free: 7.051 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat