Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.462/1.462, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.83 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1095, allocations: 53.32 MB / 426.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2409/0.3504, allocations: 21.65 MB / 448.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.366, allocations: 6.805 MB / 455.4 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005481/0.3715, allocations: 149.4 kB / 455.5 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01834/0.3898, allocations: 6.907 MB / 462.4 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.4007, allocations: 2.806 MB / 465.2 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005814/0.4065, allocations: 1.575 MB / 466.8 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01596/0.4225, allocations: 9.076 MB / 475.9 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02595/0.4484, allocations: 13.06 MB / 488.9 MB, free: 2.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009392/0.4578, allocations: 4.652 MB / 493.6 MB, free: 14.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009809/0.4676, allocations: 5.229 MB / 498.8 MB, free: 9.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003897/0.4715, allocations: 1.355 MB / 0.4885 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005549/0.4771, allocations: 1.691 MB / 0.4901 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00412/0.4812, allocations: 2.623 MB / 0.4927 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01048/0.4917, allocations: 4.962 MB / 0.4975 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02645/0.5181, allocations: 18.26 MB / 0.5153 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5182, allocations: 3.938 kB / 0.5153 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5182, allocations: 0 / 0.5153 GB, free: 12.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004961/0.5187, allocations: 0 / 0.5153 GB, free: 12.07 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03435/0.553, allocations: 10.74 MB / 0.5258 GB, free: 1.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.5531, allocations: 8.031 kB / 0.5258 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005277/0.5583, allocations: 1.09 MB / 0.5269 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03504/0.5934, allocations: 5.904 MB / 0.5327 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/0.6093, allocations: 5.741 MB / 0.5383 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006829/0.61, allocations: 0.5579 MB / 0.5388 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004094/0.6141, allocations: 0.7342 MB / 0.5395 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03448/0.6486, allocations: 12.88 MB / 0.5521 GB, free: 6.172 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003117/0.6489, allocations: 19.88 kB / 0.5521 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002517/0.6514, allocations: 315.9 kB / 0.5524 GB, free: 5.844 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005858/0.652, allocations: 492.1 kB / 0.5529 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02978/0.6817, allocations: 12.62 MB / 0.5652 GB, free: 8.715 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07851/0.7603, allocations: 41.54 MB / 0.6058 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2461/1.006, allocations: 25.86 MB / 0.631 GB, free: 135.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00553/1.012, allocations: 2.921 MB / 0.6339 GB, free: 135.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005223/1.012, allocations: 271.1 kB / 0.6342 GB, free: 135.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.365e-05/1.012, allocations: 78.25 kB / 0.6342 GB, free: 135.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=410): time 6.772e-06/1.012, allocations: 0 / 0.6342 GB, free: 135.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=415): time 0.04043/1.053, allocations: 17.09 MB / 0.6509 GB, free: 130.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/1.053, allocations: 94.83 kB / 0.651 GB, free: 130.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004626/1.058, allocations: 2.837 MB / 0.6538 GB, free: 129.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000659/1.058, allocations: 92.17 kB / 0.6539 GB, free: 129 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001772/1.06, allocations: 3.146 MB / 0.6569 GB, free: 127.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001534/1.062, allocations: 1.471 MB / 0.6584 GB, free: 126 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001567/1.063, allocations: 0.9514 MB / 0.6593 GB, free: 125.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/1.063, allocations: 309.1 kB / 0.6596 GB, free: 125.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003717/1.067, allocations: 2.51 MB / 0.6621 GB, free: 124.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004814/1.072, allocations: 4.114 MB / 0.6661 GB, free: 121.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008669/1.08, allocations: 7.207 MB / 0.6731 GB, free: 116.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/1.08, allocations: 15.12 kB / 0.6731 GB, free: 116.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01381/1.094, allocations: 8.028 MB / 0.681 GB, free: 113.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.331e-05/1.094, allocations: 26.06 kB / 0.681 GB, free: 113.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.993e-05/1.094, allocations: 49.59 kB / 0.681 GB, free: 113.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003062/1.098, allocations: 1.232 MB / 0.6822 GB, free: 113.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004009/1.102, allocations: 1.136 MB / 0.6834 GB, free: 113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/1.114, allocations: 11.24 MB / 0.6943 GB, free: 103.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004073/1.118, allocations: 263.8 kB / 0.6946 GB, free: 103.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008649/1.119, allocations: 237.5 kB / 0.6948 GB, free: 103 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005149/1.124, allocations: 2.95 MB / 0.6977 GB, free: 100.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/1.125, allocations: 371.6 kB / 0.6981 GB, free: 99.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009694/1.135, allocations: 6.674 MB / 0.7046 GB, free: 92.99 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/1.135, allocations: 41.59 kB / 0.7046 GB, free: 92.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/1.135, allocations: 12 kB / 0.7046 GB, free: 92.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.756e-05/1.135, allocations: 25.33 kB / 0.7046 GB, free: 92.92 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02341/1.158, allocations: 14.86 MB / 0.7192 GB, free: 78.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/1.158, allocations: 8 kB / 0.7192 GB, free: 78.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/1.161, allocations: 0.7496 MB / 0.7199 GB, free: 77.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002851/1.164, allocations: 1.137 MB / 0.721 GB, free: 76.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005418/1.165, allocations: 95.97 kB / 0.7211 GB, free: 76.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/1.176, allocations: 10.17 MB / 0.731 GB, free: 65.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.176, allocations: 4 kB / 0.731 GB, free: 65.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/1.19, allocations: 10.01 MB / 0.7408 GB, free: 55.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002679/1.192, allocations: 0.9475 MB / 0.7417 GB, free: 54.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008875/1.193, allocations: 90 kB / 0.7418 GB, free: 54.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002406/1.196, allocations: 197.2 kB / 0.742 GB, free: 54.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006903/1.196, allocations: 303.3 kB / 0.7423 GB, free: 53.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002289/1.197, allocations: 128 kB / 0.7424 GB, free: 53.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002654/1.199, allocations: 1.951 MB / 0.7443 GB, free: 51.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.199, allocations: 8 kB / 0.7443 GB, free: 51.81 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00536/1.205, allocations: 1.387 MB / 0.7457 GB, free: 50.43 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,loadInertia.phi) * 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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01316/1.218, allocations: 10.74 MB / 0.7562 GB, free: 39.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009991/1.228, allocations: 6.492 MB / 0.7625 GB, free: 33.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/1.228, allocations: 8.125 kB / 0.7625 GB, free: 33.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005214/1.233, allocations: 3.313 MB / 0.7658 GB, free: 29.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/1.237, allocations: 0.8392 MB / 0.7666 GB, free: 28.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07778/1.315, allocations: 47.09 MB / 0.8126 GB, free: 11.83 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006962/1.322, allocations: 5.081 MB / 0.8175 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004617/1.326, allocations: 1.614 MB / 0.8191 GB, free: 5.074 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004529/1.331, allocations: 2.678 MB / 0.8217 GB, free: 2.395 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/1.331, allocations: 0 / 0.8217 GB, free: 2.395 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3872/1.718, allocations: 111.8 MB / 0.9309 GB, free: 97.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.6/19.32, allocations: 7.719 kB / 0.9309 GB, free: 97.95 MB / 0.545 GB " [Timeout remaining time 641] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.848331802990288] Failed to read output from testmodel.py, exit status != 0: 19.464591342955828 19.474943043 18.954266074 Calling exit ...