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.00175/0.00175, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.00217/0.00217, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.39/1.39, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.00189/0.00189, allocations: 71.81 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.1005, allocations: 53.31 MB / 426.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.2152/0.3156, allocations: 11.91 MB / 438.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00663/0.3222, allocations: 3.84 MB / 442.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.324, allocations: 73.16 kB / 442.7 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.3261, allocations: 0.9266 MB / 443.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.3294, allocations: 1.14 MB / 444.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.3306, allocations: 0.5008 MB / 445.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005965/0.3366, allocations: 4.232 MB / 449.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003884/0.3404, allocations: 2.402 MB / 451.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004231/0.3447, allocations: 1.921 MB / 453.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004491/0.3492, allocations: 2.387 MB / 456.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.3503, allocations: 0.4941 MB / 456.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.3521, allocations: 0.6027 MB / 457.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001646/0.3538, allocations: 1.414 MB / 458.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003801/0.3576, allocations: 2.212 MB / 460.9 MB, free: 9.844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008462/0.366, allocations: 6.593 MB / 467.5 MB, free: 5.184 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.366, allocations: 0 / 467.5 MB, free: 5.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.366, allocations: 0 / 467.5 MB, free: 5.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001786/0.3662, allocations: 4 kB / 467.5 MB, free: 5.18 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.0103/0.3765, allocations: 4.418 MB / 472 MB, free: 2.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3766, allocations: 10.66 kB / 472 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00066/0.3772, allocations: 447.9 kB / 472.4 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.3786, allocations: 490.2 kB / 472.9 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005071/0.3837, allocations: 2.422 MB / 475.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.3839, allocations: 231.1 kB / 475.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005144/0.3844, allocations: 312.7 kB / 475.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007429/0.3918, allocations: 4.374 MB / 480.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.481e-05/0.3919, allocations: 11.95 kB / 480.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002906/0.3922, allocations: 127.9 kB / 480.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/0.3923, allocations: 134 kB / 480.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006311/0.3986, allocations: 3.771 MB / 484.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02371/0.4223, allocations: 13.42 MB / 497.7 MB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003542/0.4259, allocations: 2.761 MB / 0.4887 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002703/0.4286, allocations: 1.571 MB / 0.4902 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.4289, allocations: 126.4 kB / 0.4904 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.4289, allocations: 51.88 kB / 0.4904 GB, free: 5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.918e-06/0.4289, allocations: 0 / 0.4904 GB, free: 5 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01813/0.4471, allocations: 9.033 MB / 0.4992 GB, free: 11.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.4471, allocations: 69.41 kB / 0.4993 GB, free: 11.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/0.4507, allocations: 2.378 MB / 0.5016 GB, free: 9.289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.4508, allocations: 53.64 kB / 0.5017 GB, free: 9.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.452, allocations: 1.509 MB / 0.5031 GB, free: 7.711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005699/0.4526, allocations: 0.6352 MB / 0.5038 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006082/0.4532, allocations: 371.5 kB / 0.5041 GB, free: 6.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4533, allocations: 301.1 kB / 0.5044 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.4551, allocations: 1.124 MB / 0.5055 GB, free: 5.281 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/0.4572, allocations: 1.575 MB / 0.507 GB, free: 3.523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/0.4612, allocations: 2.784 MB / 0.5098 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.4612, allocations: 4 kB / 0.5098 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006443/0.4676, allocations: 3.59 MB / 0.5133 GB, free: 12.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.4677, allocations: 15.88 kB / 0.5133 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.4677, allocations: 12 kB / 0.5133 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/0.4697, allocations: 0.8075 MB / 0.5141 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.4714, allocations: 463.3 kB / 0.5145 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.4829, allocations: 11.16 MB / 0.5254 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.4852, allocations: 127.9 kB / 0.5256 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/0.4854, allocations: 76 kB / 0.5256 GB, free: 15.57 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.002155/0.4875, allocations: 1.094 MB / 0.5267 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005565/0.4881, allocations: 262.3 kB / 0.5269 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005641/0.4937, allocations: 3.286 MB / 0.5302 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.4938, allocations: 16 kB / 0.5302 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.4938, allocations: 4 kB / 0.5302 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.4938, allocations: 11.97 kB / 0.5302 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.5065, allocations: 6.848 MB / 0.5369 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.5065, allocations: 0 / 0.5369 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.5078, allocations: 299.5 kB / 0.5372 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002343/0.5102, allocations: 0.9238 MB / 0.5381 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.5103, allocations: 43.97 kB / 0.5381 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/0.5249, allocations: 14.62 MB / 0.5524 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5249, allocations: 12.03 kB / 0.5524 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008169/0.5331, allocations: 4.858 MB / 0.5571 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/0.5349, allocations: 0.5774 MB / 0.5577 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/0.5353, allocations: 39.94 kB / 0.5577 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.5365, allocations: 123.9 kB / 0.5578 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004256/0.5369, allocations: 149.8 kB / 0.558 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.5371, allocations: 47.98 kB / 0.558 GB, free: 13.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002649/0.5397, allocations: 1.637 MB / 0.5596 GB, free: 11.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5397, allocations: 3.938 kB / 0.5596 GB, free: 11.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002346/0.5421, allocations: 0.7031 MB / 0.5603 GB, free: 10.75 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.008074/0.5501, allocations: 5.518 MB / 0.5657 GB, free: 5.164 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005553/0.5557, allocations: 3.481 MB / 0.5691 GB, free: 1.578 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.5557, allocations: 4 kB / 0.5691 GB, free: 1.574 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0037/0.5594, allocations: 2.433 MB / 0.5715 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/0.5635, allocations: 0.7254 MB / 0.5722 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04883/0.6123, allocations: 26.37 MB / 0.5979 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003296/0.6156, allocations: 2.518 MB / 0.6004 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002088/0.6177, allocations: 0.5984 MB / 0.601 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/0.6197, allocations: 1.261 MB / 0.6022 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of SimCode: time 1.252e-06/0.6197, allocations: 0 / 0.6022 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.324/0.9437, allocations: 67.48 MB / 0.6681 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.01, allocations: 6.75 kB / 0.6681 GB, free: 142.3 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 & /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: 18.460008514579386] 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.133494414854795 16.14716188 15.778173793 Calling exit ...