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.00139/0.00139, 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.001695/0.001695, allocations: 213.9 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.002205/0.002205, allocations: 68.95 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3119, allocations: 53.37 MB / 431.9 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01976/0.3317, allocations: 11.96 MB / 443.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009422/0.3411, allocations: 3.845 MB / 447.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002722/0.3438, allocations: 91.38 kB / 447.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003374/0.3472, allocations: 0.9289 MB / 448.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00495/0.3522, allocations: 1.154 MB / 449.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.3542, allocations: 0.4993 MB / 450.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006897/0.3611, allocations: 4.253 MB / 454.7 MB, free: 180 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003981/0.3651, allocations: 1.845 MB / 456.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004024/0.3691, allocations: 1.959 MB / 458.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004726/0.3739, allocations: 2.398 MB / 460.9 MB, free: 9.883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0017/0.3756, allocations: 0.4922 MB / 461.4 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.3778, allocations: 0.5975 MB / 462 MB, free: 8.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002196/0.38, allocations: 1.414 MB / 463.4 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004664/0.3847, allocations: 2.225 MB / 465.6 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009473/0.3942, allocations: 6.592 MB / 472.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.3942, allocations: 0 / 472.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3942, allocations: 0 / 472.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002544/0.3944, allocations: 0 / 472.2 MB, free: 14.53 MB / 382.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.01314/0.4076, allocations: 4.344 MB / 476.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4076, allocations: 8.031 kB / 476.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001293/0.4089, allocations: 442.5 kB / 477 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.4107, allocations: 494.2 kB / 477.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005594/0.4163, allocations: 2.363 MB / 479.8 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.4165, allocations: 226.2 kB / 480 MB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007731/0.4173, allocations: 304 kB / 480.3 MB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008944/0.4262, allocations: 4.377 MB / 484.7 MB, free: 1.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.56e-05/0.4263, allocations: 11.95 kB / 484.7 MB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003428/0.4266, allocations: 124 kB / 484.8 MB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.4268, allocations: 126 kB / 485 MB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007845/0.4346, allocations: 3.783 MB / 488.8 MB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02581/0.4604, allocations: 13.25 MB / 0.4902 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/0.4641, allocations: 2.081 MB / 0.4923 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003061/0.4672, allocations: 1.559 MB / 0.4938 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.4675, allocations: 53.2 kB / 0.4938 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.719e-05/0.4675, allocations: 55.88 kB / 0.4939 GB, free: 12.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 4.028e-06/0.4675, allocations: 0 / 0.4939 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.0195/0.487, allocations: 8.498 MB / 0.5022 GB, free: 3.836 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.4871, allocations: 77.33 kB / 0.5023 GB, free: 3.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004168/0.4913, allocations: 2.374 MB / 0.5046 GB, free: 1.344 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003235/0.4916, allocations: 61.7 kB / 0.5046 GB, free: 1.277 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.4929, allocations: 1.509 MB / 0.5061 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007286/0.4936, allocations: 0.6313 MB / 0.5067 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006523/0.4943, allocations: 363.5 kB / 0.5071 GB, free: 14.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4944, allocations: 305.1 kB / 0.5074 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/0.4964, allocations: 1.12 MB / 0.5085 GB, free: 13.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.4987, allocations: 1.567 MB / 0.51 GB, free: 11.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004305/0.503, allocations: 2.784 MB / 0.5127 GB, free: 8.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.5031, allocations: 4 kB / 0.5127 GB, free: 8.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006742/0.5098, allocations: 3.605 MB / 0.5162 GB, free: 4.996 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.5098, allocations: 16.06 kB / 0.5163 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.5099, allocations: 12 kB / 0.5163 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.512, allocations: 0.8058 MB / 0.5171 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/0.5139, allocations: 455.3 kB / 0.5175 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.5262, allocations: 10.66 MB / 0.5279 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.5284, allocations: 123.8 kB / 0.528 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000309/0.5287, allocations: 80.06 kB / 0.5281 GB, free: 8.266 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.002461/0.5312, allocations: 1.093 MB / 0.5292 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008309/0.532, allocations: 270.3 kB / 0.5294 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006227/0.5382, allocations: 3.286 MB / 0.5326 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.5383, allocations: 20 kB / 0.5326 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/0.5383, allocations: 4 kB / 0.5326 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/0.5383, allocations: 7.969 kB / 0.5327 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2392/0.7775, allocations: 6.816 MB / 0.5393 GB, free: 98.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.7775, allocations: 1.406 kB / 0.5393 GB, free: 98.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.7787, allocations: 305.4 kB / 0.5396 GB, free: 98.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002315/0.781, allocations: 0.9234 MB / 0.5405 GB, free: 98.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001693/0.7812, allocations: 43.86 kB / 0.5405 GB, free: 98.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.7916, allocations: 13.9 MB / 0.5541 GB, free: 87.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.7916, allocations: 6.875 kB / 0.5541 GB, free: 87.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006637/0.7983, allocations: 4.852 MB / 0.5589 GB, free: 85.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/0.7997, allocations: 0.5096 MB / 0.5594 GB, free: 85.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005775/0.8003, allocations: 35.72 kB / 0.5594 GB, free: 85.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/0.8018, allocations: 121.6 kB / 0.5595 GB, free: 85.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000427/0.8022, allocations: 164.2 kB / 0.5597 GB, free: 85.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.8023, allocations: 51.55 kB / 0.5597 GB, free: 85.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002253/0.8046, allocations: 1.642 MB / 0.5613 GB, free: 84.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8046, allocations: 2.906 kB / 0.5613 GB, free: 84.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002275/0.8069, allocations: 0.7061 MB / 0.562 GB, free: 83.86 MB / 446.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.006464/0.8133, allocations: 5.512 MB / 0.5674 GB, free: 78.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004481/0.8178, allocations: 3.334 MB / 0.5707 GB, free: 75.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.8178, allocations: 4 kB / 0.5707 GB, free: 75.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002948/0.8208, allocations: 2.348 MB / 0.573 GB, free: 72.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/0.8241, allocations: 0.734 MB / 0.5737 GB, free: 72.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03656/0.8607, allocations: 26.4 MB / 0.5995 GB, free: 45.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/0.8624, allocations: 2.522 MB / 0.6019 GB, free: 42.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001683/0.8641, allocations: 0.5984 MB / 0.6025 GB, free: 41.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/0.8654, allocations: 1.261 MB / 0.6037 GB, free: 40.63 MB / 446.1 MB Notification: Performance of SimCode: time 1.143e-06/0.8654, allocations: 0 / 0.6037 GB, free: 40.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.139/1.004, allocations: 69.05 MB / 0.6712 GB, free: 4.176 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/16.29, allocations: 6.172 kB / 0.6712 GB, free: 4.172 MB / 478.1 MB " [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: 19.034150270279497] 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.42293078592047 16.446625316 16.047621648 Calling exit ...