Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 80.84 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 177.1 MB / 199.4 MB, free: 8.449 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 155.1 kB / 256 MB, free: 4.332 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04017/0.04017, allocations: 6.659 MB / 319 MB, free: 5.391 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 445.9 MB, free: 25.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.812e-05, allocations: 2.281 kB / 445.9 MB, free: 25.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.03839/0.03842, allocations: 39.4 MB / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2285/0.2669, allocations: 11.8 MB / 497.1 MB, free: 16.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01081/0.2777, allocations: 432.6 kB / 497.5 MB, free: 16.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02837/0.3061, allocations: 12.26 MB / 0.4979 GB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01782/0.3239, allocations: 5.049 MB / 0.5028 GB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01062/0.3345, allocations: 3.041 MB / 0.5058 GB, free: 9.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.03084/0.3654, allocations: 22.01 MB / 0.5272 GB, free: 9.785 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06237/0.4278, allocations: 26.56 MB / 0.5532 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04216/0.4699, allocations: 16.55 MB / 0.5693 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02343/0.4933, allocations: 10.5 MB / 0.5796 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01007/0.5034, allocations: 3.121 MB / 0.5826 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01598/0.5194, allocations: 3.57 MB / 0.5861 GB, free: 15.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01287/0.5323, allocations: 6.37 MB / 0.5924 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02724/0.5595, allocations: 7.995 MB / 0.6002 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06756/0.6271, allocations: 42.05 MB / 0.6412 GB, free: 7.945 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.6271, allocations: 0 / 0.6412 GB, free: 7.945 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6271, allocations: 4 kB / 0.6412 GB, free: 7.941 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001333/0.6284, allocations: 0 / 0.6412 GB, free: 7.941 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.4314/1.06, allocations: 24.08 MB / 0.6647 GB, free: 142.7 MB / 494.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/1.06, allocations: 13.64 kB / 0.6648 GB, free: 142.7 MB / 494.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06377/1.124, allocations: 11.33 MB / 0.6758 GB, free: 141.9 MB / 494.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02539/1.149, allocations: 13.29 MB / 0.6888 GB, free: 134.7 MB / 494.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009619/1.15, allocations: 1.356 MB / 0.6901 GB, free: 133.3 MB / 494.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005992/1.156, allocations: 1.796 MB / 0.6919 GB, free: 131.5 MB / 494.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05939/1.215, allocations: 30.13 MB / 0.7213 GB, free: 101.2 MB / 494.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005439/1.216, allocations: 31.56 kB / 0.7213 GB, free: 101.2 MB / 494.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004373/1.22, allocations: 0.7369 MB / 0.722 GB, free: 100.5 MB / 494.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006785/1.221, allocations: 0.9868 MB / 0.723 GB, free: 99.47 MB / 494.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0455/1.266, allocations: 27.33 MB / 0.7497 GB, free: 72.1 MB / 494.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1366/1.403, allocations: 81.89 MB / 0.8297 GB, free: 5.691 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03664/1.44, allocations: 18.83 MB / 0.8481 GB, free: 5.945 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01463/1.454, allocations: 6.717 MB / 0.8546 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3943/1.849, allocations: 17.99 MB / 0.8722 GB, free: 173.2 MB / 0.5296 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.851e-05/1.849, allocations: 104.7 kB / 0.8723 GB, free: 173.2 MB / 0.5296 GB Notification: Performance of pre-optimization done (n=677): time 1.172e-05/1.849, allocations: 0.5156 kB / 0.8723 GB, free: 173.2 MB / 0.5296 GB Notification: Performance of matching and sorting (n=685): time 0.08435/1.933, allocations: 37.47 MB / 0.9089 GB, free: 162 MB / 0.5296 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/1.933, allocations: 152.7 kB / 0.909 GB, free: 161.9 MB / 0.5296 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008743/1.942, allocations: 6.849 MB / 0.9157 GB, free: 159.4 MB / 0.5296 GB Notification: Performance of collectPreVariables (initialization): time 0.001065/1.943, allocations: 137.7 kB / 0.9158 GB, free: 159.2 MB / 0.5296 GB Notification: Performance of collectInitialEqns (initialization): time 0.003177/1.946, allocations: 8.039 MB / 0.9237 GB, free: 153 MB / 0.5296 GB Notification: Performance of collectInitialBindings (initialization): time 0.002047/1.948, allocations: 2.4 MB / 0.926 GB, free: 150.9 MB / 0.5296 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002896/1.951, allocations: 1.858 MB / 0.9278 GB, free: 149.2 MB / 0.5296 GB Notification: Performance of setup shared object (initialization): time 4.145e-05/1.951, allocations: 305.1 kB / 0.9281 GB, free: 148.9 MB / 0.5296 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00633/1.957, allocations: 4.876 MB / 0.9329 GB, free: 144.5 MB / 0.5296 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007753/1.965, allocations: 8.301 MB / 0.941 GB, free: 134.7 MB / 0.5296 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01395/1.979, allocations: 13.9 MB / 0.9546 GB, free: 119.2 MB / 0.5296 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.881e-05/1.979, allocations: 28 kB / 0.9546 GB, free: 119.1 MB / 0.5296 GB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.02425/2.003, allocations: 15.84 MB / 0.9701 GB, free: 103.2 MB / 0.5296 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/2.003, allocations: 56.03 kB / 0.9701 GB, free: 103.1 MB / 0.5296 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/2.004, allocations: 113 kB / 0.9702 GB, free: 103 MB / 0.5296 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005848/2.009, allocations: 2.547 MB / 0.9727 GB, free: 100.5 MB / 0.5296 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007372/2.017, allocations: 2.075 MB / 0.9748 GB, free: 98.38 MB / 0.5296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0285/2.045, allocations: 29.45 MB / 1.004 GB, free: 68.16 MB / 0.5296 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007135/2.052, allocations: 0.5151 MB / 1.004 GB, free: 67.64 MB / 0.5296 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/2.054, allocations: 455.9 kB / 1.004 GB, free: 67.2 MB / 0.5296 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 493 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.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 (1072): * Single equations (assignments): 1062 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(1,1,100.0%), (18,100,41.0%), (1,5,100.0%), (1,1,100.0%), (1,5,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.01018/2.064, allocations: 6.745 MB / 1.011 GB, free: 60.44 MB / 0.5296 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001857/2.066, allocations: 0.7647 MB / 1.012 GB, free: 59.67 MB / 0.5296 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01957/2.086, allocations: 12.69 MB / 1.024 GB, free: 46.83 MB / 0.5296 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01245/2.098, allocations: 8.2 MB / 1.032 GB, free: 38.53 MB / 0.5296 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-05/2.098, allocations: 28 kB / 1.032 GB, free: 38.5 MB / 0.5296 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001107/2.098, allocations: 39.86 kB / 1.032 GB, free: 38.46 MB / 0.5296 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03749/2.136, allocations: 24.1 MB / 1.056 GB, free: 14.31 MB / 0.5296 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.758e-05/2.136, allocations: 4 kB / 1.056 GB, free: 14.3 MB / 0.5296 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004841/2.14, allocations: 1.124 MB / 1.057 GB, free: 13.18 MB / 0.5296 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006239/2.147, allocations: 2.639 MB / 1.059 GB, free: 10.51 MB / 0.5296 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000837/2.148, allocations: 163.9 kB / 1.06 GB, free: 10.35 MB / 0.5296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2268/2.374, allocations: 34.12 MB / 1.093 GB, free: 141.3 MB / 0.5296 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/2.374, allocations: 8.094 kB / 1.093 GB, free: 141.3 MB / 0.5296 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02579/2.4, allocations: 18.5 MB / 1.111 GB, free: 133.8 MB / 0.5296 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004156/2.404, allocations: 1.741 MB / 1.113 GB, free: 133.3 MB / 0.5296 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/2.406, allocations: 125.9 kB / 1.113 GB, free: 133.2 MB / 0.5296 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003755/2.409, allocations: 389.8 kB / 1.113 GB, free: 133.1 MB / 0.5296 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001236/2.411, allocations: 0.5641 MB / 1.114 GB, free: 133 MB / 0.5296 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004404/2.411, allocations: 204.9 kB / 1.114 GB, free: 133 MB / 0.5296 GB Notification: Performance of sorting global known variables: time 0.006275/2.417, allocations: 4.47 MB / 1.118 GB, free: 131.4 MB / 0.5296 GB Notification: Performance of sort global known variables: time 2e-07/2.417, allocations: 2 kB / 1.118 GB, free: 131.4 MB / 0.5296 GB Notification: Performance of remove unused functions: time 0.01142/2.429, allocations: 3.051 MB / 1.121 GB, free: 131.1 MB / 0.5296 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,5,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00139/2.43, allocations: 359.2 kB / 1.122 GB, free: 130.8 MB / 0.5296 GB Notification: Performance of simCode: created initialization part: time 0.01726/2.447, allocations: 12.79 MB / 1.134 GB, free: 123.7 MB / 0.5296 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/2.447, allocations: 4 kB / 1.134 GB, free: 123.7 MB / 0.5296 GB Notification: Performance of simCode: created simulation system equations: time 0.009272/2.457, allocations: 7.139 MB / 1.141 GB, free: 117.3 MB / 0.5296 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008547/2.465, allocations: 1.924 MB / 1.143 GB, free: 115.8 MB / 0.5296 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05001/2.515, allocations: 32.24 MB / 1.174 GB, free: 86.51 MB / 0.5296 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01846/2.534, allocations: 11.07 MB / 1.185 GB, free: 76.12 MB / 0.5296 GB Notification: Performance of simCode: alias equations: time 0.009362/2.543, allocations: 3.21 MB / 1.188 GB, free: 72.9 MB / 0.5296 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002637/2.546, allocations: 0.5746 MB / 1.189 GB, free: 72.33 MB / 0.5296 GB Notification: Performance of SimCode: time 8.62e-07/2.546, allocations: 0 / 1.189 GB, free: 72.33 MB / 0.5296 GB Notification: Performance of Templates: time 0.404/2.95, allocations: 121.5 MB / 1.308 GB, free: 154.2 MB / 0.5452 GB " [Timeout remaining time 657] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.707237500697374] Failed to read output from testmodel.py, exit status != 0: 2.958030842244625 2.968414987 2.338864675 Calling exit ...