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_withLosses.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.001394/0.001394, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001648/0.001648, allocations: 212.3 kB / 24.54 MB, free: 4.02 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 8.012 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_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",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.002018/0.002018, allocations: 68.77 kB / 378.6 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2992, allocations: 53.36 MB / 432 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03038/0.3296, allocations: 25.07 MB / 457 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.3486, allocations: 8.114 MB / 465.2 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0059/0.3545, allocations: 218.9 kB / 465.4 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02061/0.3751, allocations: 8.49 MB / 473.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.3872, allocations: 3.144 MB / 477 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006456/0.3937, allocations: 1.889 MB / 478.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01805/0.4117, allocations: 11.35 MB / 490.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02845/0.4402, allocations: 14.67 MB / 0.4931 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01222/0.4524, allocations: 6.071 MB / 0.499 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01361/0.466, allocations: 6.569 MB / 0.5054 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005868/0.4719, allocations: 1.715 MB / 0.5071 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01044/0.4823, allocations: 2.16 MB / 0.5092 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008247/0.4906, allocations: 3.406 MB / 0.5125 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01725/0.5078, allocations: 6.362 MB / 0.5187 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5791/1.087, allocations: 23.2 MB / 0.5414 GB, free: 40.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/1.087, allocations: 0 / 0.5414 GB, free: 40.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.103e-06/1.087, allocations: 0 / 0.5414 GB, free: 40.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007284/1.088, allocations: 1.75 kB / 0.5414 GB, free: 40.94 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.0456/1.133, allocations: 13.57 MB / 0.5546 GB, free: 37.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.133, allocations: 9.344 kB / 0.5546 GB, free: 37.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008012/1.141, allocations: 1.609 MB / 0.5562 GB, free: 37.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03586/1.177, allocations: 6.262 MB / 0.5623 GB, free: 36.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01756/1.195, allocations: 7.372 MB / 0.5695 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008759/1.196, allocations: 0.7211 MB / 0.5702 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005199/1.201, allocations: 0.9439 MB / 0.5712 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04864/1.249, allocations: 16.2 MB / 0.587 GB, free: 19.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005814/1.25, allocations: 15.91 kB / 0.587 GB, free: 19.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005879/1.256, allocations: 405.8 kB / 0.5874 GB, free: 19.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005589/1.256, allocations: 0.5592 MB / 0.5879 GB, free: 18.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03456/1.291, allocations: 15.16 MB / 0.6027 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1099/1.401, allocations: 51.48 MB / 0.653 GB, free: 15.96 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01738/1.418, allocations: 8.634 MB / 0.6614 GB, free: 8.133 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006541/1.425, allocations: 3.324 MB / 0.6647 GB, free: 4.809 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005668/1.425, allocations: 137.8 kB / 0.6648 GB, free: 4.699 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.071e-05/1.425, allocations: 82.06 kB / 0.6649 GB, free: 4.609 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=447): time 6.202e-06/1.426, allocations: 0 / 0.6649 GB, free: 4.609 MB / 0.4982 GB Notification: Performance of matching and sorting (n=452): time 0.05734/1.483, allocations: 20.56 MB / 0.685 GB, free: 96 kB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/1.483, allocations: 95 kB / 0.6851 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008258/1.491, allocations: 4.514 MB / 0.6895 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001137/1.492, allocations: 100.4 kB / 0.6896 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004046/1.496, allocations: 4.359 MB / 0.6938 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00261/1.499, allocations: 1.611 MB / 0.6954 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002468/1.501, allocations: 1.208 MB / 0.6966 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.502, allocations: 305.1 kB / 0.6969 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00568/1.507, allocations: 3.069 MB / 0.6999 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008199/1.516, allocations: 5.222 MB / 0.705 GB, free: 10.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01507/1.531, allocations: 8.88 MB / 0.7136 GB, free: 1.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.44e-05/1.531, allocations: 20 kB / 0.7137 GB, free: 1.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02285/1.554, allocations: 9.877 MB / 0.7233 GB, free: 7.609 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.021e-05/1.554, allocations: 32 kB / 0.7233 GB, free: 7.578 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000144/1.554, allocations: 72 kB / 0.7234 GB, free: 7.508 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004229/1.558, allocations: 1.405 MB / 0.7248 GB, free: 6.102 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006041/1.564, allocations: 1.389 MB / 0.7261 GB, free: 4.809 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/1.584, allocations: 12.48 MB / 0.7383 GB, free: 8.195 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005389/1.59, allocations: 359.5 kB / 0.7387 GB, free: 7.844 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/1.591, allocations: 300 kB / 0.739 GB, free: 7.551 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008367/1.6, allocations: 3.884 MB / 0.7427 GB, free: 3.75 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/1.601, allocations: 484.9 kB / 0.7432 GB, free: 3.273 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/1.617, allocations: 8.481 MB / 0.7515 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01227/1.63, allocations: 6.222 MB / 0.7576 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-05/1.63, allocations: 12 kB / 0.7576 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.592e-05/1.63, allocations: 23.92 kB / 0.7576 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2987/1.928, allocations: 17.47 MB / 0.7747 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-05/1.928, allocations: 13.16 kB / 0.7747 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003342/1.932, allocations: 0.8093 MB / 0.7755 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003413/1.935, allocations: 1.294 MB / 0.7767 GB, free: 221.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006095/1.936, allocations: 106.3 kB / 0.7768 GB, free: 221.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/1.95, allocations: 11.37 MB / 0.7879 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.95, allocations: 11.78 kB / 0.7879 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01812/1.968, allocations: 11.21 MB / 0.7989 GB, free: 210 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00366/1.972, allocations: 1.072 MB / 0.7999 GB, free: 209.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001551/1.973, allocations: 83.16 kB / 0.8 GB, free: 209.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003499/1.977, allocations: 228.8 kB / 0.8002 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009542/1.978, allocations: 352 kB / 0.8006 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003507/1.978, allocations: 144.5 kB / 0.8007 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005144/1.983, allocations: 3.117 MB / 0.8037 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/1.983, allocations: 0 / 0.8037 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009227/1.993, allocations: 1.726 MB / 0.8054 GB, free: 205.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01941/2.012, allocations: 12.22 MB / 0.8174 GB, free: 195 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01276/2.025, allocations: 7.678 MB / 0.8249 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/2.025, allocations: 0.6875 kB / 0.8249 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007109/2.032, allocations: 3.698 MB / 0.8285 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006633/2.039, allocations: 1.063 MB / 0.8295 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09999/2.139, allocations: 60.92 MB / 0.889 GB, free: 119.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00853/2.147, allocations: 6.529 MB / 0.8954 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005851/2.153, allocations: 2.115 MB / 0.8974 GB, free: 110.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006673/2.16, allocations: 3.584 MB / 0.9009 GB, free: 107 MB / 0.5919 GB Notification: Performance of SimCode: time 1.743e-06/2.16, allocations: 0 / 0.9009 GB, free: 107 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4514/2.611, allocations: 146.4 MB / 1.044 GB, free: 212.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.31/24.92, allocations: 11.12 kB / 1.044 GB, free: 212.5 MB / 0.5919 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.91086559277028] Failed to read output from testmodel.py, exit status != 0: ['time', 'PIQS.x', 'imcQS.rotorCage.port_p.reference.gamma', 'loadInertiaQS.w', 'powerSensorQS.flange_a.phi'] 25.155353477224708 25.170369271 24.079573348 Calling exit ...