Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",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.0008919/0.0008919, allocations: 89.89 kB / 16.32 MB, free: 6.457 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.0009762/0.0009763, allocations: 182.4 kB / 17.21 MB, free: 6.328 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.383/1.383, allocations: 223.2 MB / 241.2 MB, free: 5.414 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002489/0.000249, allocations: 6.828 kB / 300.9 MB, free: 6.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09373/0.094, allocations: 50.43 MB / 351.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00561/0.09965, allocations: 5.144 MB / 356.5 MB, free: 6.523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003902/0.1036, allocations: 1.96 MB / 358.4 MB, free: 4.559 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005134/0.1041, allocations: 39.81 kB / 358.5 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007106/0.1049, allocations: 302.2 kB / 358.8 MB, free: 4.223 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.106, allocations: 485.4 kB / 359.3 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.1063, allocations: 135.8 kB / 359.4 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.1083, allocations: 2.284 MB / 361.7 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.1098, allocations: 1.413 MB / 363.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.1109, allocations: 0.7511 MB / 363.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.1119, allocations: 0.9688 MB / 364.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.1121, allocations: 124 kB / 364.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004003/0.1125, allocations: 183.9 kB / 365.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004277/0.113, allocations: 0.5218 MB / 365.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.1134, allocations: 436.7 kB / 366.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.1157, allocations: 3.078 MB / 369.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1157, allocations: 0 / 369.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.468e-06/0.1158, allocations: 0 / 369.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.434e-05/0.1158, allocations: 3.938 kB / 369.1 MB, free: 9.793 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.003502/0.1193, allocations: 2.045 MB / 371.2 MB, free: 7.691 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1194, allocations: 12.03 kB / 371.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003435/0.1197, allocations: 282 kB / 371.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006072/0.1204, allocations: 249.3 kB / 371.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/0.1222, allocations: 1.262 MB / 373 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/0.1223, allocations: 135.5 kB / 373.1 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/0.1226, allocations: 171.9 kB / 373.3 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004086/0.1266, allocations: 2.539 MB / 375.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.1267, allocations: 7.922 kB / 375.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.1269, allocations: 75.98 kB / 375.9 MB, free: 2.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.127, allocations: 99.52 kB / 376 MB, free: 2.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.1306, allocations: 2.103 MB / 378.1 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.1415, allocations: 7.496 MB / 385.6 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.1429, allocations: 1.265 MB / 386.9 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.1436, allocations: 492 kB / 387.3 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.1438, allocations: 113.5 kB / 387.4 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1438, allocations: 35 kB / 387.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 3.697e-06/0.1439, allocations: 4 kB / 387.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003955/0.1478, allocations: 2.292 MB / 389.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.1479, allocations: 85.55 kB / 389.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.1499, allocations: 1.496 MB / 391.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.947e-05/0.15, allocations: 41.64 kB / 391.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006754/0.1507, allocations: 0.9751 MB / 392.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.1508, allocations: 197.3 kB / 392.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.1509, allocations: 24 kB / 392.6 MB, free: 1.656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.151, allocations: 353.9 kB / 392.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006722/0.1517, allocations: 454.3 kB / 393.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.1527, allocations: 1.094 MB / 394.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009012/0.1536, allocations: 0.6799 MB / 395.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.1537, allocations: 8 kB / 395.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002645/0.1563, allocations: 1.687 MB / 396.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.1564, allocations: 12 kB / 396.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/0.1564, allocations: 24 kB / 396.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007724/0.1572, allocations: 181.1 kB / 397.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008464/0.158, allocations: 291.5 kB / 397.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.1604, allocations: 2.158 MB / 399.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.1614, allocations: 91.58 kB / 399.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.362e-05/0.1615, allocations: 71.98 kB / 399.7 MB, free: 10.11 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001166/0.1627, allocations: 0.7042 MB / 400.4 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.163, allocations: 130.5 kB / 400.5 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.1644, allocations: 0.8528 MB / 401.3 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.1644, allocations: 8 kB / 401.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1644, allocations: 0 / 401.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1645, allocations: 7.922 kB / 401.4 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/0.1681, allocations: 2.502 MB / 403.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.1682, allocations: 4 kB / 403.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.1685, allocations: 99.81 kB / 404 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006314/0.1692, allocations: 157 kB / 404.1 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/0.1692, allocations: 11.98 kB / 404.1 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.1714, allocations: 2.1 MB / 406.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1714, allocations: 7.984 kB / 406.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.1734, allocations: 1.324 MB / 407.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/0.174, allocations: 287.5 kB / 407.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.1741, allocations: 19.95 kB / 407.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/0.1747, allocations: 52.03 kB / 407.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.1748, allocations: 55.8 kB / 408 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.1749, allocations: 16 kB / 408 MB, free: 1.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001568/0.1764, allocations: 1.028 MB / 409 MB, free: 436 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1764, allocations: 0 / 409 MB, free: 436 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001454/0.1779, allocations: 348 kB / 409.3 MB, free: 88 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002635/0.1805, allocations: 1.93 MB / 411.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.1829, allocations: 1.157 MB / 412.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.183, allocations: 8.125 kB / 412.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009027/0.1839, allocations: 0.5021 MB / 412.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.1858, allocations: 367.7 kB / 413.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/0.2052, allocations: 10.23 MB / 423.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3056/0.5109, allocations: 1.696 MB / 425.2 MB, free: 63.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001148/0.5121, allocations: 323.3 kB / 425.6 MB, free: 63.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007918/0.5129, allocations: 0.6156 MB / 426.2 MB, free: 63.12 MB / 350.1 MB Notification: Performance of SimCode: time 1.243e-06/0.5129, allocations: 0 / 426.2 MB, free: 63.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06373/0.5766, allocations: 31.17 MB / 457.3 MB, free: 43.47 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/0.577, allocations: 266.9 kB / 457.6 MB, free: 43.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.18, allocations: 6.656 kB / 457.6 MB, free: 43.11 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat