Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_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.001008/0.001009, allocations: 98.72 kB / 16.95 MB, free: 6.453 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.001175/0.001175, allocations: 183.8 kB / 17.84 MB, free: 6.004 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.657/1.657, allocations: 205.4 MB / 224 MB, free: 13.15 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.0005053/0.0005054, allocations: 12 kB / 280.9 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.09824, allocations: 47.57 MB / 328.5 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005784/0.1041, allocations: 5.108 MB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004049/0.1082, allocations: 2.004 MB / 335.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009717/0.1092, allocations: 31.81 kB / 335.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.1103, allocations: 306.2 kB / 335.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.1121, allocations: 477.4 kB / 336.4 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.1127, allocations: 139.8 kB / 336.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002974/0.1157, allocations: 2.342 MB / 338.8 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/0.118, allocations: 1.334 MB / 340.2 MB, free: 8.172 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.1196, allocations: 0.7628 MB / 340.9 MB, free: 7.406 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.1215, allocations: 0.9767 MB / 341.9 MB, free: 6.426 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004757/0.122, allocations: 128 kB / 342 MB, free: 6.301 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008823/0.1229, allocations: 191.8 kB / 342.2 MB, free: 6.113 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007026/0.1236, allocations: 0.5217 MB / 342.7 MB, free: 5.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007809/0.1244, allocations: 436.7 kB / 343.2 MB, free: 5.156 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003134/0.1275, allocations: 3.085 MB / 346.3 MB, free: 2.062 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1276, allocations: 4 kB / 346.3 MB, free: 2.059 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.1276, allocations: 4 kB / 346.3 MB, free: 2.055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001358/0.1277, allocations: 0 / 346.3 MB, free: 2.055 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.005407/0.1331, allocations: 2.026 MB / 348.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.1332, allocations: 8.031 kB / 348.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007889/0.134, allocations: 270 kB / 348.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.1351, allocations: 253.3 kB / 348.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.1377, allocations: 1.2 MB / 350 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.1378, allocations: 127.5 kB / 350.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000435/0.1383, allocations: 180 kB / 350.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005451/0.1437, allocations: 2.532 MB / 352.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.81e-05/0.1438, allocations: 3.984 kB / 352.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.144, allocations: 79.94 kB / 352.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.1442, allocations: 103.5 kB / 353 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004318/0.1485, allocations: 2.095 MB / 355.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/0.1622, allocations: 7.515 MB / 362.6 MB, free: 1.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.1638, allocations: 1.267 MB / 363.9 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007661/0.1646, allocations: 482.9 kB / 364.4 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.1649, allocations: 125.6 kB / 364.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.165, allocations: 42.98 kB / 364.5 MB, free: 15.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.675e-06/0.165, allocations: 0 / 364.5 MB, free: 15.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.004453/0.1695, allocations: 2.292 MB / 366.8 MB, free: 12.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.1695, allocations: 85.55 kB / 366.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.1721, allocations: 1.496 MB / 368.4 MB, free: 11.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.1722, allocations: 37.7 kB / 368.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007317/0.1729, allocations: 0.9672 MB / 369.4 MB, free: 10.22 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.1731, allocations: 193.4 kB / 369.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.1732, allocations: 28 kB / 369.6 MB, free: 10 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1733, allocations: 357.9 kB / 370 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000742/0.1741, allocations: 466.3 kB / 370.4 MB, free: 9.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.1752, allocations: 1.091 MB / 371.5 MB, free: 7.785 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.1762, allocations: 0.6799 MB / 372.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/0.1763, allocations: 8 kB / 372.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003038/0.1793, allocations: 1.694 MB / 373.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.1794, allocations: 12.44 kB / 373.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-05/0.1794, allocations: 24 kB / 373.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007783/0.1802, allocations: 180.7 kB / 374.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/0.1811, allocations: 287.5 kB / 374.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.1835, allocations: 2.159 MB / 376.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.1847, allocations: 87.62 kB / 376.6 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.1848, allocations: 68 kB / 376.7 MB, free: 2.453 MB / 318.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.00139/0.1862, allocations: 0.704 MB / 377.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/0.1866, allocations: 130.4 kB / 377.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.1881, allocations: 0.8529 MB / 378.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1881, allocations: 4 kB / 378.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.1881, allocations: 4 kB / 378.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1881, allocations: 11.92 kB / 378.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2167/0.4049, allocations: 2.512 MB / 380.9 MB, free: 49.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.4049, allocations: 2.938 kB / 380.9 MB, free: 49.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.4054, allocations: 99.69 kB / 381 MB, free: 49.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007183/0.4061, allocations: 154.4 kB / 381.2 MB, free: 49.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.4062, allocations: 14.81 kB / 381.2 MB, free: 49.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.4082, allocations: 2.09 MB / 383.3 MB, free: 48.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4082, allocations: 8.422 kB / 383.3 MB, free: 48.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.4103, allocations: 1.331 MB / 384.6 MB, free: 47.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005481/0.4108, allocations: 283.5 kB / 384.9 MB, free: 47.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.411, allocations: 15.8 kB / 384.9 MB, free: 47.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/0.4115, allocations: 55.72 kB / 385 MB, free: 47.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.4117, allocations: 50.02 kB / 385 MB, free: 47.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.4117, allocations: 23.58 kB / 385 MB, free: 47.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00176/0.4135, allocations: 1.028 MB / 386.1 MB, free: 47.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4135, allocations: 0 / 386.1 MB, free: 47.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001681/0.4152, allocations: 346.3 kB / 386.4 MB, free: 47.02 MB / 318.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.002637/0.4178, allocations: 1.918 MB / 388.3 MB, free: 45.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.4202, allocations: 1.157 MB / 389.5 MB, free: 45.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.4202, allocations: 5.438 kB / 389.5 MB, free: 45.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009073/0.4211, allocations: 0.5152 MB / 390 MB, free: 45.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.4231, allocations: 357.5 kB / 390.4 MB, free: 45.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/0.442, allocations: 10.24 MB / 400.6 MB, free: 39.29 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.4432, allocations: 1.7 MB / 402.3 MB, free: 38.13 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001216/0.4444, allocations: 325.7 kB / 402.6 MB, free: 38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007057/0.4451, allocations: 0.6136 MB / 403.2 MB, free: 37.46 MB / 318.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4451, allocations: 0 / 403.2 MB, free: 37.46 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05421/0.4994, allocations: 31.19 MB / 434.4 MB, free: 6.242 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/0.4996, allocations: 266.8 kB / 434.7 MB, free: 5.883 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/3.21, allocations: 0 / 434.7 MB, free: 5.883 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat