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.001459/0.001459, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.00163/0.00163, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.306/1.306, allocations: 230.4 MB / 256.4 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 179] 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.001829/0.001829, allocations: 71.83 kB / 376.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2158, allocations: 53.31 MB / 429.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01299/0.2288, allocations: 11.96 MB / 441.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006815/0.2356, allocations: 3.833 MB / 445.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.2372, allocations: 75.69 kB / 445.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.2394, allocations: 0.9366 MB / 446.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003101/0.2425, allocations: 1.13 MB / 447.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.2437, allocations: 0.5031 MB / 447.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004898/0.2486, allocations: 4.245 MB / 452.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00257/0.2512, allocations: 1.837 MB / 453.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.2538, allocations: 1.927 MB / 455.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003251/0.2571, allocations: 2.394 MB / 458.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008383/0.2579, allocations: 0.4961 MB / 458.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.2591, allocations: 0.5975 MB / 459.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001415/0.2605, allocations: 1.406 MB / 460.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002703/0.2632, allocations: 2.217 MB / 463 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006854/0.2701, allocations: 6.591 MB / 469.6 MB, free: 15.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2701, allocations: 4 kB / 469.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2701, allocations: 0 / 469.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001342/0.2702, allocations: 0 / 469.6 MB, free: 15.05 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.009229/0.2794, allocations: 4.419 MB / 474 MB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2795, allocations: 12.03 kB / 474 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000715/0.2802, allocations: 438.6 kB / 474.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.2816, allocations: 490.2 kB / 474.9 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004242/0.2859, allocations: 2.435 MB / 477.3 MB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.286, allocations: 226.2 kB / 477.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005285/0.2866, allocations: 315.9 kB / 477.9 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007036/0.2936, allocations: 4.369 MB / 482.2 MB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.76e-05/0.2937, allocations: 7.953 kB / 482.2 MB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003183/0.294, allocations: 128 kB / 482.4 MB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.2941, allocations: 134 kB / 482.5 MB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006289/0.3004, allocations: 3.779 MB / 486.3 MB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02055/0.321, allocations: 13.41 MB / 499.7 MB, free: 352 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00352/0.3245, allocations: 2.774 MB / 0.4907 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002724/0.3272, allocations: 1.563 MB / 0.4922 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002598/0.3275, allocations: 138.3 kB / 0.4923 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.3275, allocations: 47.88 kB / 0.4924 GB, free: 11.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 3.737e-06/0.3275, allocations: 0 / 0.4924 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.01809/0.3456, allocations: 9.029 MB / 0.5012 GB, free: 2.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.3457, allocations: 73.34 kB / 0.5013 GB, free: 2.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003529/0.3492, allocations: 2.378 MB / 0.5036 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002536/0.3494, allocations: 57.7 kB / 0.5037 GB, free: 15.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.3506, allocations: 1.509 MB / 0.5051 GB, free: 14.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006165/0.3512, allocations: 0.6352 MB / 0.5057 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006053/0.3518, allocations: 363.5 kB / 0.5061 GB, free: 13.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3519, allocations: 301.1 kB / 0.5064 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/0.3537, allocations: 1.124 MB / 0.5075 GB, free: 11.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.3557, allocations: 1.571 MB / 0.509 GB, free: 10.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003767/0.3595, allocations: 2.784 MB / 0.5117 GB, free: 7.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.3595, allocations: 4 kB / 0.5117 GB, free: 7.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006032/0.3655, allocations: 3.594 MB / 0.5152 GB, free: 3.586 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.3656, allocations: 16.44 kB / 0.5153 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.3656, allocations: 12 kB / 0.5153 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/0.3675, allocations: 0.8019 MB / 0.5161 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.3692, allocations: 459.3 kB / 0.5165 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.38, allocations: 11.19 MB / 0.5274 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.3819, allocations: 131.9 kB / 0.5275 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/0.3821, allocations: 72 kB / 0.5276 GB, free: 6.203 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.001805/0.3839, allocations: 1.091 MB / 0.5287 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005247/0.3844, allocations: 266.3 kB / 0.5289 GB, free: 4.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005535/0.39, allocations: 3.289 MB / 0.5321 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.39, allocations: 16 kB / 0.5322 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.39, allocations: 8 kB / 0.5322 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.39, allocations: 7.969 kB / 0.5322 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/0.4011, allocations: 6.833 MB / 0.5388 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.4011, allocations: 7.938 kB / 0.5389 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.4023, allocations: 311.8 kB / 0.5391 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/0.4046, allocations: 0.908 MB / 0.54 GB, free: 9.273 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/0.4048, allocations: 43.97 kB / 0.5401 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1888/0.5935, allocations: 14.62 MB / 0.5544 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5935, allocations: 2.375 kB / 0.5544 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006357/0.5999, allocations: 4.863 MB / 0.5591 GB, free: 108.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009804/0.6009, allocations: 0.5788 MB / 0.5597 GB, free: 107.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/0.6012, allocations: 35.59 kB / 0.5597 GB, free: 107.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.6024, allocations: 123.4 kB / 0.5598 GB, free: 107.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/0.6027, allocations: 156.8 kB / 0.56 GB, free: 107.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.404e-05/0.6028, allocations: 47.23 kB / 0.56 GB, free: 107.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001918/0.6047, allocations: 1.644 MB / 0.5616 GB, free: 107.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6047, allocations: 0 / 0.5616 GB, free: 107.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00177/0.6065, allocations: 0.7081 MB / 0.5623 GB, free: 107.1 MB / 462.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.005867/0.6124, allocations: 5.516 MB / 0.5677 GB, free: 104.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003944/0.6163, allocations: 3.482 MB / 0.5711 GB, free: 102.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.6163, allocations: 0 / 0.5711 GB, free: 102.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.6189, allocations: 2.429 MB / 0.5735 GB, free: 100.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/0.6218, allocations: 0.7164 MB / 0.5742 GB, free: 99.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03123/0.653, allocations: 26.41 MB / 0.6 GB, free: 73.13 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/0.6547, allocations: 2.529 MB / 0.6024 GB, free: 70.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001472/0.6561, allocations: 0.5906 MB / 0.603 GB, free: 69.97 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/0.6575, allocations: 1.261 MB / 0.6042 GB, free: 68.71 MB / 462.1 MB Notification: Performance of SimCode: time 1.503e-06/0.6575, allocations: 0 / 0.6042 GB, free: 68.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/0.7639, allocations: 67.7 MB / 0.6703 GB, free: 1.602 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14, allocations: 10.66 kB / 0.6704 GB, free: 1.594 MB / 462.1 MB " [Timeout remaining time 646] (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 --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: 16.319579412003804]