Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.00179/0.00179, allocations: 120.8 kB / 18.51 MB, free: 4.531 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.002259/0.002259, allocations: 212.9 kB / 21.46 MB, free: 1.586 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.402/1.402, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",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.00192/0.00192, allocations: 71.83 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1083, allocations: 53.33 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.2116/0.3199, allocations: 11.91 MB / 438.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007146/0.327, allocations: 3.844 MB / 442.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.3295, allocations: 89.31 kB / 442.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.3319, allocations: 0.9346 MB / 443.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003667/0.3356, allocations: 1.133 MB / 444.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.3367, allocations: 0.4944 MB / 445.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005416/0.3421, allocations: 4.243 MB / 449.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003125/0.3453, allocations: 2.396 MB / 452.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003247/0.3485, allocations: 1.963 MB / 454 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.3525, allocations: 2.39 MB / 456.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008908/0.3534, allocations: 0.4945 MB / 456.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.3548, allocations: 0.5993 MB / 457.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001498/0.3563, allocations: 1.413 MB / 458.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003064/0.3594, allocations: 2.209 MB / 461.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007773/0.3671, allocations: 6.598 MB / 467.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3671, allocations: 0 / 467.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3671, allocations: 0 / 467.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001598/0.3673, allocations: 1.625 kB / 467.7 MB, free: 5.051 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01045/0.3777, allocations: 4.417 MB / 472.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3778, allocations: 10.88 kB / 472.2 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007615/0.3785, allocations: 438.4 kB / 472.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.3801, allocations: 489.9 kB / 473.1 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004727/0.3849, allocations: 2.436 MB / 475.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.3851, allocations: 230.3 kB / 475.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005088/0.3856, allocations: 309.4 kB / 476 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008178/0.3938, allocations: 4.379 MB / 480.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-05/0.3939, allocations: 16.97 kB / 480.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003246/0.3942, allocations: 128 kB / 480.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/0.3943, allocations: 134 kB / 480.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006853/0.4012, allocations: 3.775 MB / 484.5 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02421/0.4254, allocations: 13.41 MB / 497.9 MB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003734/0.4291, allocations: 2.76 MB / 0.4889 GB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002845/0.432, allocations: 1.575 MB / 0.4904 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/0.4322, allocations: 130.3 kB / 0.4905 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.4323, allocations: 51.88 kB / 0.4906 GB, free: 4.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 4.318e-06/0.4323, allocations: 0 / 0.4906 GB, free: 4.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01935/0.4516, allocations: 9.022 MB / 0.4994 GB, free: 11.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.4517, allocations: 73.41 kB / 0.4995 GB, free: 11.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004454/0.4562, allocations: 2.374 MB / 0.5018 GB, free: 9.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001938/0.4564, allocations: 57.7 kB / 0.5019 GB, free: 9.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.4576, allocations: 1.509 MB / 0.5033 GB, free: 7.531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006347/0.4582, allocations: 0.6313 MB / 0.5039 GB, free: 6.895 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007395/0.459, allocations: 363.5 kB / 0.5043 GB, free: 6.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4591, allocations: 305.1 kB / 0.5046 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.461, allocations: 1.12 MB / 0.5057 GB, free: 5.113 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/0.4632, allocations: 1.578 MB / 0.5072 GB, free: 3.355 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/0.4672, allocations: 2.78 MB / 0.5099 GB, free: 412 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.4673, allocations: 4 kB / 0.5099 GB, free: 408 kB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006511/0.4738, allocations: 3.597 MB / 0.5134 GB, free: 12.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.4738, allocations: 15.94 kB / 0.5135 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.4738, allocations: 12 kB / 0.5135 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/0.4759, allocations: 0.7955 MB / 0.5143 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.4777, allocations: 459.2 kB / 0.5147 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.4896, allocations: 11.18 MB / 0.5256 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.492, allocations: 123.8 kB / 0.5257 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003501/0.4923, allocations: 79.98 kB / 0.5258 GB, free: 15.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002358/0.4947, allocations: 1.097 MB / 0.5269 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007801/0.4955, allocations: 258.3 kB / 0.5271 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006456/0.5019, allocations: 3.285 MB / 0.5303 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.502, allocations: 20 kB / 0.5303 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/0.502, allocations: 4 kB / 0.5304 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.502, allocations: 7.969 kB / 0.5304 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.5164, allocations: 6.852 MB / 0.5371 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.5164, allocations: 0 / 0.5371 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.5177, allocations: 295.6 kB / 0.5373 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002544/0.5203, allocations: 0.9127 MB / 0.5382 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/0.5205, allocations: 43.98 kB / 0.5383 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01504/0.5355, allocations: 14.63 MB / 0.5526 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.5355, allocations: 7.969 kB / 0.5526 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008553/0.5441, allocations: 4.858 MB / 0.5573 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/0.5457, allocations: 0.5697 MB / 0.5579 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007956/0.5465, allocations: 43.92 kB / 0.5579 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/0.5483, allocations: 123.9 kB / 0.558 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004349/0.5488, allocations: 157.7 kB / 0.5582 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.5489, allocations: 47.98 kB / 0.5582 GB, free: 12.94 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003113/0.552, allocations: 1.645 MB / 0.5598 GB, free: 11.28 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.552, allocations: 0 / 0.5598 GB, free: 11.28 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002861/0.5549, allocations: 0.707 MB / 0.5605 GB, free: 10.57 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008595/0.5635, allocations: 5.513 MB / 0.5659 GB, free: 4.984 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005826/0.5693, allocations: 3.48 MB / 0.5693 GB, free: 1.398 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.5693, allocations: 3.938 kB / 0.5693 GB, free: 1.395 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003886/0.5732, allocations: 2.429 MB / 0.5717 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004784/0.578, allocations: 0.7196 MB / 0.5724 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04909/0.6271, allocations: 26.36 MB / 0.5981 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003409/0.6305, allocations: 2.525 MB / 0.6006 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00224/0.6327, allocations: 0.5829 MB / 0.6012 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002154/0.6349, allocations: 1.265 MB / 0.6024 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of SimCode: time 7.52e-07/0.6349, allocations: 0 / 0.6024 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3334/0.9683, allocations: 67.48 MB / 0.6683 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/16, allocations: 14.39 kB / 0.6683 GB, free: 142 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.551690523047] Failed to read output from testmodel.py, exit status != 0: ['time', '// aims.i_0_r', 'aims.ir[1]', 'aims.ir[2]', 'aims.idq_rr[1]', 'aims.idq_rr[2]', 'aims.is[1]', 'aims.is[2]', 'aims.idq_sr[1]', 'aims.idq_sr[2]', 'loadInertia.phi', 'loadInertia.w'] 16.127683889120817 16.143643642 15.773342199 Calling exit ...