Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",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.001032/0.001031, allocations: 97.89 kB / 16.3 MB, free: 5.992 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.001185/0.001185, allocations: 184.7 kB / 17.2 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.4/1.4, allocations: 223.2 MB / 241.1 MB, free: 5.469 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002543/0.0002544, allocations: 8.391 kB / 300.8 MB, free: 6.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.09531, allocations: 50.43 MB / 351.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008203/0.1036, allocations: 7.992 MB / 359.2 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005756/0.1093, allocations: 3.11 MB / 362.3 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008505/0.1102, allocations: 55.88 kB / 362.4 MB, free: 452 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.1117, allocations: 0.5753 MB / 363 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003263/0.115, allocations: 1.202 MB / 364.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.117, allocations: 0.8358 MB / 365 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0172/0.1342, allocations: 12.23 MB / 377.2 MB, free: 1.586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02972/0.1639, allocations: 15.22 MB / 392.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006404/0.1704, allocations: 3.302 MB / 395.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007031/0.1775, allocations: 4.102 MB / 399.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001918/0.1794, allocations: 0.582 MB / 400.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.1827, allocations: 0.7732 MB / 401.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002773/0.1855, allocations: 1.807 MB / 403 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003066/0.1886, allocations: 1.783 MB / 404.8 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01749/0.2061, allocations: 15.81 MB / 420.6 MB, free: 6.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2062, allocations: 0 / 420.6 MB, free: 6.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2062, allocations: 0 / 420.6 MB, free: 6.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005309/0.2067, allocations: 4 kB / 420.6 MB, free: 6.035 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.3967/0.6035, allocations: 10.8 MB / 431.4 MB, free: 52.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.6035, allocations: 10.03 kB / 431.4 MB, free: 52.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008155/0.6117, allocations: 1.327 MB / 432.8 MB, free: 52.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04849/0.6602, allocations: 8.537 MB / 441.3 MB, free: 49.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01693/0.6772, allocations: 5.859 MB / 447.1 MB, free: 46.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007492/0.678, allocations: 0.6595 MB / 447.8 MB, free: 46.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00404/0.682, allocations: 0.8669 MB / 448.7 MB, free: 45.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0311/0.7132, allocations: 15.84 MB / 464.5 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002389/0.7134, allocations: 11.91 kB / 464.5 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001299/0.7147, allocations: 373.2 kB / 464.9 MB, free: 29.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003794/0.7151, allocations: 0.5543 MB / 465.4 MB, free: 28.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02675/0.7419, allocations: 15.64 MB / 481.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08908/0.831, allocations: 48.44 MB / 0.5171 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02007/0.8511, allocations: 19.28 MB / 0.5359 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006667/0.8518, allocations: 176.4 kB / 0.5361 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.774e-05/0.8519, allocations: 82.56 kB / 0.5362 GB, free: 5.934 MB / 414.1 MB Notification: Performance of pre-optimization done (n=468): time 6.542e-06/0.8519, allocations: 0 / 0.5362 GB, free: 5.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=468): time 0.02437/0.8763, allocations: 11.5 MB / 0.5474 GB, free: 10.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.85e-05/0.8764, allocations: 129.1 kB / 0.5475 GB, free: 10.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005873/0.8823, allocations: 3.811 MB / 0.5513 GB, free: 6.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007503/0.8831, allocations: 101.7 kB / 0.5514 GB, free: 6.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002499/0.8856, allocations: 3.897 MB / 0.5552 GB, free: 2.324 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001821/0.8874, allocations: 1.609 MB / 0.5567 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003874/0.8878, allocations: 152 kB / 0.5569 GB, free: 0.582 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004129/0.8883, allocations: 0.6078 MB / 0.5575 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005455/0.8937, allocations: 3.652 MB / 0.561 GB, free: 12.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007151/0.9009, allocations: 6.468 MB / 0.5673 GB, free: 4.547 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007254/0.9082, allocations: 5.195 MB / 0.5724 GB, free: 15.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.845e-05/0.9082, allocations: 31.94 kB / 0.5725 GB, free: 15.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02187/0.9301, allocations: 11.88 MB / 0.5841 GB, free: 3.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.153e-05/0.9302, allocations: 44 kB / 0.5841 GB, free: 3.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000163/0.9304, allocations: 92 kB / 0.5842 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005049/0.9355, allocations: 1.625 MB / 0.5858 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2263/1.162, allocations: 1.658 MB / 0.5874 GB, free: 143.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01886/1.181, allocations: 16.55 MB / 0.6036 GB, free: 135.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006465/1.187, allocations: 0.9458 MB / 0.6045 GB, free: 135.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/1.189, allocations: 361.5 kB / 0.6048 GB, free: 135.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006291/1.195, allocations: 3.755 MB / 0.6085 GB, free: 133.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007793/1.196, allocations: 394.6 kB / 0.6089 GB, free: 133.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/1.209, allocations: 8.556 MB / 0.6172 GB, free: 130.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/1.209, allocations: 50.72 kB / 0.6173 GB, free: 130.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.378e-05/1.209, allocations: 11.69 kB / 0.6173 GB, free: 130.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-05/1.209, allocations: 23.16 kB / 0.6173 GB, free: 130.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02605/1.235, allocations: 16.89 MB / 0.6338 GB, free: 123.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/1.235, allocations: 4 kB / 0.6338 GB, free: 123.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003398/1.238, allocations: 0.8588 MB / 0.6346 GB, free: 122.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004305/1.243, allocations: 1.501 MB / 0.6361 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007499/1.244, allocations: 99.97 kB / 0.6362 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/1.258, allocations: 16.37 MB / 0.6522 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.258, allocations: 11.94 kB / 0.6522 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/1.274, allocations: 12.36 MB / 0.6643 GB, free: 91.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002435/1.277, allocations: 1.112 MB / 0.6654 GB, free: 90.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006132/1.277, allocations: 87.98 kB / 0.6654 GB, free: 90.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/1.279, allocations: 303.7 kB / 0.6657 GB, free: 89.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005578/1.28, allocations: 327.5 kB / 0.666 GB, free: 89.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002476/1.28, allocations: 132 kB / 0.6662 GB, free: 89.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003294/1.283, allocations: 2.551 MB / 0.6687 GB, free: 86.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.283, allocations: 0 / 0.6687 GB, free: 86.74 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007879/1.291, allocations: 2.381 MB / 0.671 GB, free: 84.35 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01625/1.308, allocations: 13.6 MB / 0.6843 GB, free: 70.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01261/1.32, allocations: 9.312 MB / 0.6934 GB, free: 61.08 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/1.32, allocations: 4 kB / 0.6934 GB, free: 61.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00652/1.327, allocations: 4.467 MB / 0.6977 GB, free: 56.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003476/1.33, allocations: 0.6269 MB / 0.6983 GB, free: 55.92 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3071/1.638, allocations: 112.2 MB / 0.8079 GB, free: 129.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006251/1.644, allocations: 6.181 MB / 0.8139 GB, free: 127 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007646/1.651, allocations: 3.258 MB / 0.8171 GB, free: 125.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004613/1.656, allocations: 3.044 MB / 0.8201 GB, free: 123.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/1.656, allocations: 0 / 0.8201 GB, free: 123.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.161/1.817, allocations: 121.8 MB / 0.939 GB, free: 2.738 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2612/2.078, allocations: 246.9 kB / 0.9392 GB, free: 203 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.768/6.846, allocations: 0.625 kB / 0.9392 GB, free: 203 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat