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.001839/0.001839, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002273/0.002273, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.381/1.381, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.003113/0.003113, allocations: 60.77 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3788, allocations: 53.37 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01457/0.3934, allocations: 11.97 MB / 443.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007946/0.4013, allocations: 3.837 MB / 447.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.4036, allocations: 95.38 kB / 447.8 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00263/0.4062, allocations: 0.9289 MB / 448.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003765/0.41, allocations: 1.15 MB / 449.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.4113, allocations: 0.5032 MB / 450.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005479/0.4168, allocations: 4.254 MB / 454.7 MB, free: 36 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002851/0.4197, allocations: 1.849 MB / 456.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.4227, allocations: 1.951 MB / 458.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003802/0.4265, allocations: 2.398 MB / 460.9 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008588/0.4273, allocations: 0.4961 MB / 461.4 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.4286, allocations: 0.5975 MB / 462 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.4301, allocations: 1.418 MB / 463.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003106/0.4332, allocations: 2.213 MB / 465.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007586/0.4408, allocations: 6.588 MB / 472.2 MB, free: 14.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.4408, allocations: 7.938 kB / 472.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4408, allocations: 0 / 472.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001603/0.4409, allocations: 0 / 472.2 MB, free: 14.39 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.01127/0.4522, allocations: 4.348 MB / 476.5 MB, free: 9.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.4523, allocations: 8.031 kB / 476.5 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001182/0.4535, allocations: 446.6 kB / 477 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.4552, allocations: 490.2 kB / 477.5 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005457/0.4607, allocations: 2.355 MB / 479.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.4609, allocations: 234.2 kB / 480 MB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008662/0.4617, allocations: 307.9 kB / 480.3 MB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009784/0.4715, allocations: 4.373 MB / 484.7 MB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.681e-05/0.4716, allocations: 7.953 kB / 484.7 MB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003481/0.472, allocations: 124 kB / 484.8 MB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001534/0.4721, allocations: 134 kB / 485 MB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007211/0.4793, allocations: 3.783 MB / 488.8 MB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02366/0.503, allocations: 13.24 MB / 0.4902 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.5062, allocations: 2.085 MB / 0.4923 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002698/0.5089, allocations: 1.559 MB / 0.4938 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.5091, allocations: 53.27 kB / 0.4938 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/0.5092, allocations: 51.88 kB / 0.4939 GB, free: 12.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 3.286e-06/0.5092, allocations: 0 / 0.4939 GB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.01765/0.5268, allocations: 8.51 MB / 0.5022 GB, free: 3.684 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.5269, allocations: 69.41 kB / 0.5023 GB, free: 3.602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003586/0.5305, allocations: 2.374 MB / 0.5046 GB, free: 1.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.5307, allocations: 57.7 kB / 0.5046 GB, free: 1.137 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.5318, allocations: 1.497 MB / 0.5061 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005993/0.5324, allocations: 0.6391 MB / 0.5067 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006087/0.5331, allocations: 363.5 kB / 0.5071 GB, free: 14.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5332, allocations: 305.1 kB / 0.5074 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.535, allocations: 1.128 MB / 0.5085 GB, free: 13.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002101/0.5371, allocations: 1.57 MB / 0.51 GB, free: 11.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003933/0.541, allocations: 2.784 MB / 0.5127 GB, free: 8.484 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/0.541, allocations: 4 kB / 0.5127 GB, free: 8.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006221/0.5473, allocations: 3.59 MB / 0.5162 GB, free: 4.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.5473, allocations: 15.94 kB / 0.5162 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.5473, allocations: 12 kB / 0.5163 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.5493, allocations: 0.8091 MB / 0.517 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/0.5511, allocations: 455.3 kB / 0.5175 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.5626, allocations: 10.67 MB / 0.5279 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.5645, allocations: 119.9 kB / 0.528 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/0.5647, allocations: 79.98 kB / 0.5281 GB, free: 8.117 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.002019/0.5667, allocations: 1.084 MB / 0.5292 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006042/0.5673, allocations: 262.3 kB / 0.5294 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005971/0.5733, allocations: 3.289 MB / 0.5326 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.5733, allocations: 16 kB / 0.5326 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.5733, allocations: 8 kB / 0.5326 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.5734, allocations: 7.969 kB / 0.5326 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2034/0.7767, allocations: 6.828 MB / 0.5393 GB, free: 98.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.7767, allocations: 0 / 0.5393 GB, free: 98.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.778, allocations: 300.6 kB / 0.5396 GB, free: 98.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/0.7805, allocations: 0.92 MB / 0.5405 GB, free: 98.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002346/0.7807, allocations: 44.23 kB / 0.5405 GB, free: 98.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.7909, allocations: 13.9 MB / 0.5541 GB, free: 87.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7909, allocations: 0 / 0.5541 GB, free: 87.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006347/0.7972, allocations: 4.856 MB / 0.5589 GB, free: 85.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/0.7985, allocations: 0.5074 MB / 0.5594 GB, free: 85.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/0.7989, allocations: 41.67 kB / 0.5594 GB, free: 85.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.8, allocations: 124.8 kB / 0.5595 GB, free: 85.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003804/0.8004, allocations: 158.6 kB / 0.5597 GB, free: 85.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.8005, allocations: 51.41 kB / 0.5597 GB, free: 85.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002017/0.8025, allocations: 1.638 MB / 0.5613 GB, free: 84.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8025, allocations: 3.594 kB / 0.5613 GB, free: 84.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001879/0.8044, allocations: 0.7081 MB / 0.562 GB, free: 83.72 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.005864/0.8103, allocations: 5.519 MB / 0.5674 GB, free: 78.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00402/0.8143, allocations: 3.335 MB / 0.5707 GB, free: 75.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.8143, allocations: 0 / 0.5707 GB, free: 75.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002657/0.817, allocations: 2.358 MB / 0.573 GB, free: 72.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/0.8203, allocations: 0.7178 MB / 0.5737 GB, free: 71.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/0.852, allocations: 26.41 MB / 0.5995 GB, free: 44.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/0.8536, allocations: 2.518 MB / 0.6019 GB, free: 42.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001444/0.855, allocations: 0.5906 MB / 0.6025 GB, free: 41.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/0.8562, allocations: 1.269 MB / 0.6037 GB, free: 40.53 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.8562, allocations: 0 / 0.6037 GB, free: 40.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1266/0.9828, allocations: 69.05 MB / 0.6712 GB, free: 4.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/16.3, allocations: 3.938 kB / 0.6712 GB, free: 4.066 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.087820993736386] 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.43159510800615 16.455020307 16.009369767 Calling exit ...