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.001584/0.001584, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001785/0.001785, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.52/1.52, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.001957/0.001957, allocations: 71.81 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1117, allocations: 53.31 MB / 427.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2339/0.3456, allocations: 25 MB / 452.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01908/0.3647, allocations: 8.086 MB / 460.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006042/0.3707, allocations: 214.3 kB / 460.3 MB, free: 6.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02091/0.3916, allocations: 8.466 MB / 468.8 MB, free: 1.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.4031, allocations: 3.079 MB / 471.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006102/0.4092, allocations: 1.839 MB / 473.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01784/0.427, allocations: 11.22 MB / 484.9 MB, free: 6.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03142/0.4585, allocations: 17.41 MB / 0.4906 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01145/0.4699, allocations: 6.028 MB / 0.4965 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01224/0.4821, allocations: 6.549 MB / 0.5029 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004897/0.487, allocations: 1.715 MB / 0.5045 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007333/0.4944, allocations: 2.148 MB / 0.5066 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005931/0.5003, allocations: 3.406 MB / 0.51 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01406/0.5144, allocations: 6.358 MB / 0.5162 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03448/0.5488, allocations: 23.2 MB / 0.5388 GB, free: 3.969 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.5489, allocations: 0 / 0.5388 GB, free: 3.969 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5489, allocations: 0 / 0.5388 GB, free: 3.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000717/0.5496, allocations: 0 / 0.5388 GB, free: 3.969 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.04697/0.5965, allocations: 13.64 MB / 0.5522 GB, free: 6.215 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.5966, allocations: 16.03 kB / 0.5522 GB, free: 6.199 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006419/0.603, allocations: 1.612 MB / 0.5537 GB, free: 4.574 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03787/0.6409, allocations: 6.251 MB / 0.5599 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01616/0.657, allocations: 7.305 MB / 0.567 GB, free: 6.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008473/0.6579, allocations: 0.7225 MB / 0.5677 GB, free: 6.207 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004157/0.6621, allocations: 0.9491 MB / 0.5686 GB, free: 5.258 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04321/0.7053, allocations: 16.21 MB / 0.5844 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003066/0.7056, allocations: 15.91 kB / 0.5845 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00282/0.7084, allocations: 404 kB / 0.5848 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006792/0.7091, allocations: 0.5592 MB / 0.5854 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03575/0.7448, allocations: 15.17 MB / 0.6002 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3377/1.082, allocations: 52.7 MB / 0.6517 GB, free: 127.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01806/1.101, allocations: 19.69 MB / 0.6709 GB, free: 110.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005978/1.106, allocations: 3.331 MB / 0.6742 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004737/1.107, allocations: 292.6 kB / 0.6744 GB, free: 109.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/1.107, allocations: 78.03 kB / 0.6745 GB, free: 109.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=447): time 5.38e-06/1.107, allocations: 0 / 0.6745 GB, free: 109.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=452): time 0.04718/1.154, allocations: 20.79 MB / 0.6948 GB, free: 97.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.154, allocations: 101.6 kB / 0.6949 GB, free: 97.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005153/1.159, allocations: 4.508 MB / 0.6993 GB, free: 94.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008126/1.16, allocations: 100.6 kB / 0.6994 GB, free: 94.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001982/1.162, allocations: 4.352 MB / 0.7037 GB, free: 90.92 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001578/1.164, allocations: 1.611 MB / 0.7052 GB, free: 89.53 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/1.165, allocations: 1.206 MB / 0.7064 GB, free: 88.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.082e-05/1.165, allocations: 309.1 kB / 0.7067 GB, free: 88.53 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003754/1.169, allocations: 3.072 MB / 0.7097 GB, free: 85.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004608/1.174, allocations: 5.219 MB / 0.7148 GB, free: 79.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/1.184, allocations: 8.879 MB / 0.7235 GB, free: 69.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.569e-05/1.184, allocations: 20 kB / 0.7235 GB, free: 69.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01603/1.2, allocations: 9.88 MB / 0.7331 GB, free: 59.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/1.2, allocations: 34.03 kB / 0.7332 GB, free: 59.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.772e-05/1.2, allocations: 72.34 kB / 0.7332 GB, free: 59.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003569/1.204, allocations: 1.403 MB / 0.7346 GB, free: 58.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004995/1.209, allocations: 1.388 MB / 0.736 GB, free: 56.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/1.223, allocations: 12.66 MB / 0.7483 GB, free: 43.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005186/1.229, allocations: 359.5 kB / 0.7487 GB, free: 43.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.23, allocations: 307.8 kB / 0.749 GB, free: 43.29 MB / 0.5137 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.00603/1.236, allocations: 3.889 MB / 0.7528 GB, free: 39.39 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/1.237, allocations: 484.9 kB / 0.7532 GB, free: 38.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.249, allocations: 8.467 MB / 0.7615 GB, free: 30.39 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00866/1.258, allocations: 6.232 MB / 0.7676 GB, free: 24.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/1.258, allocations: 15.94 kB / 0.7676 GB, free: 24.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.89e-05/1.258, allocations: 23.91 kB / 0.7676 GB, free: 24.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02717/1.285, allocations: 17.42 MB / 0.7846 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.285, allocations: 8 kB / 0.7846 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00317/1.288, allocations: 0.8074 MB / 0.7854 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003362/1.292, allocations: 1.29 MB / 0.7867 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005382/1.292, allocations: 108 kB / 0.7868 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/1.308, allocations: 11.58 MB / 0.7981 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/1.308, allocations: 11.94 kB / 0.7981 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0202/1.328, allocations: 11.2 MB / 0.809 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003086/1.331, allocations: 1.119 MB / 0.8101 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0012/1.333, allocations: 92.05 kB / 0.8102 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003137/1.336, allocations: 227.8 kB / 0.8104 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/1.337, allocations: 339.5 kB / 0.8108 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005981/1.337, allocations: 147.9 kB / 0.8109 GB, free: 11.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006431/1.344, allocations: 3.108 MB / 0.8139 GB, free: 8.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.344, allocations: 4 kB / 0.8139 GB, free: 8.125 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008045/1.352, allocations: 1.73 MB / 0.8156 GB, free: 6.395 MB / 0.545 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.025/1.377, allocations: 12.22 MB / 0.8276 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01724/1.394, allocations: 7.67 MB / 0.8351 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/1.394, allocations: 0.8125 kB / 0.8351 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2385/1.633, allocations: 3.695 MB / 0.8387 GB, free: 202.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007739/1.64, allocations: 1.054 MB / 0.8397 GB, free: 202.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1025/1.743, allocations: 60.78 MB / 0.8991 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007289/1.75, allocations: 6.517 MB / 0.9054 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005109/1.755, allocations: 2.112 MB / 0.9075 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005715/1.761, allocations: 3.584 MB / 0.911 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.854e-06/1.761, allocations: 3.938 kB / 0.911 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4445/2.206, allocations: 140.8 MB / 1.049 GB, free: 158 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.45/23.65, allocations: 13.34 kB / 1.049 GB, free: 158 MB / 0.5606 GB " [Timeout remaining time 636] (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: 26.70522986818105] 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'] 23.867397928610444 23.885273379 23.332625582 Calling exit ...