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.001625/0.001625, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.493/1.493, allocations: 230.6 MB / 253.4 MB, free: 14.29 MB / 206.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.001698/0.001698, allocations: 224.2 kB / 310 MB, free: 3.07 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.04199/0.04199, allocations: 8.926 MB / 375.3 MB, free: 6.602 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002585/0.002585, allocations: 87.88 kB / 0.4904 GB, free: 44.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.0968, allocations: 55.6 MB / 0.5447 GB, free: 4.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.3011/0.3979, allocations: 39.35 MB / 0.5831 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02986/0.4278, allocations: 11.79 MB / 0.5946 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01352/0.4413, allocations: 432.5 kB / 0.595 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03412/0.4754, allocations: 11.64 MB / 0.6064 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02267/0.4981, allocations: 4.93 MB / 0.6112 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01203/0.5101, allocations: 3.02 MB / 0.6142 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03296/0.5431, allocations: 21.25 MB / 0.6349 GB, free: 1.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06308/0.6061, allocations: 26.49 MB / 0.6608 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02553/0.6317, allocations: 11.27 MB / 0.6718 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02491/0.6566, allocations: 11.81 MB / 0.6833 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0103/0.6669, allocations: 3.117 MB / 0.6864 GB, free: 12.06 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01469/0.6816, allocations: 3.539 MB / 0.6898 GB, free: 8.523 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.015/0.6966, allocations: 6.262 MB / 0.696 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0277/0.7243, allocations: 9.269 MB / 0.705 GB, free: 8.938 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06273/0.787, allocations: 41.71 MB / 0.7457 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.787, allocations: 0 / 0.7457 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.874e-06/0.787, allocations: 3.938 kB / 0.7457 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001315/0.7883, allocations: 0 / 0.7457 GB, free: 15.1 MB / 0.5294 GB 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.08703/0.8754, allocations: 24.26 MB / 0.7694 GB, free: 6.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.8754, allocations: 15.98 kB / 0.7695 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4871/1.362, allocations: 11.31 MB / 0.7805 GB, free: 150 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02939/1.392, allocations: 13.29 MB / 0.7935 GB, free: 146.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001419/1.393, allocations: 1.366 MB / 0.7948 GB, free: 145.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006958/1.4, allocations: 1.79 MB / 0.7966 GB, free: 145.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06816/1.468, allocations: 30.13 MB / 0.826 GB, free: 128.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008815/1.469, allocations: 23.83 kB / 0.826 GB, free: 128.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006173/1.475, allocations: 0.7451 MB / 0.8267 GB, free: 127.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008932/1.476, allocations: 0.9907 MB / 0.8277 GB, free: 126.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0494/1.526, allocations: 27.32 MB / 0.8544 GB, free: 99.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1312/1.657, allocations: 81.85 MB / 0.9343 GB, free: 17.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02615/1.683, allocations: 18.81 MB / 0.9527 GB, free: 1.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01247/1.696, allocations: 6.713 MB / 0.9592 GB, free: 10.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04441/1.74, allocations: 18 MB / 0.9768 GB, free: 8.949 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/1.74, allocations: 104.5 kB / 0.9769 GB, free: 8.84 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=677): time 1.043e-05/1.74, allocations: 0 / 0.9769 GB, free: 8.84 MB / 0.5763 GB Notification: Performance of matching and sorting (n=685): time 0.1014/1.842, allocations: 37.48 MB / 1.014 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/1.842, allocations: 147.1 kB / 1.014 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4486/2.29, allocations: 6.85 MB / 1.02 GB, free: 190.9 MB / 0.6077 GB Notification: Performance of collectPreVariables (initialization): time 0.001151/2.291, allocations: 137.4 kB / 1.02 GB, free: 190.8 MB / 0.6077 GB Notification: Performance of collectInitialEqns (initialization): time 0.00528/2.297, allocations: 8.061 MB / 1.028 GB, free: 189.5 MB / 0.6077 GB Notification: Performance of collectInitialBindings (initialization): time 0.002766/2.299, allocations: 2.437 MB / 1.031 GB, free: 187.8 MB / 0.6077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005452/2.305, allocations: 1.868 MB / 1.033 GB, free: 186.9 MB / 0.6077 GB Notification: Performance of setup shared object (initialization): time 4.549e-05/2.305, allocations: 303.7 kB / 1.033 GB, free: 186.6 MB / 0.6077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008709/2.314, allocations: 4.878 MB / 1.038 GB, free: 184.8 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01059/2.324, allocations: 8.301 MB / 1.046 GB, free: 178.6 MB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01771/2.342, allocations: 13.9 MB / 1.059 GB, free: 169.7 MB / 0.6077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002395/2.342, allocations: 31.41 kB / 1.059 GB, free: 169.7 MB / 0.6077 GB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.02745/2.37, allocations: 15.84 MB / 1.075 GB, free: 163.2 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-05/2.37, allocations: 58.09 kB / 1.075 GB, free: 163.2 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002089/2.37, allocations: 108.6 kB / 1.075 GB, free: 163.2 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006371/2.376, allocations: 2.547 MB / 1.077 GB, free: 162.5 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007515/2.384, allocations: 2.08 MB / 1.079 GB, free: 162.3 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02907/2.413, allocations: 29.45 MB / 1.108 GB, free: 139.5 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007647/2.421, allocations: 0.5127 MB / 1.109 GB, free: 139.1 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001908/2.422, allocations: 458.7 kB / 1.109 GB, free: 138.7 MB / 0.6077 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.01145/2.434, allocations: 6.752 MB / 1.116 GB, free: 132.9 MB / 0.6077 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002095/2.436, allocations: 0.7642 MB / 1.117 GB, free: 132.1 MB / 0.6077 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0226/2.459, allocations: 12.7 MB / 1.129 GB, free: 120.2 MB / 0.6077 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01261/2.471, allocations: 8.196 MB / 1.137 GB, free: 111.9 MB / 0.6077 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.148e-05/2.471, allocations: 28 kB / 1.137 GB, free: 111.9 MB / 0.6077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001496/2.471, allocations: 40.75 kB / 1.137 GB, free: 111.8 MB / 0.6077 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04585/2.517, allocations: 24.12 MB / 1.161 GB, free: 87.67 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-05/2.517, allocations: 4 kB / 1.161 GB, free: 87.67 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005014/2.522, allocations: 1.124 MB / 1.162 GB, free: 86.54 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006396/2.529, allocations: 2.633 MB / 1.164 GB, free: 83.88 MB / 0.6077 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001258/2.53, allocations: 159.9 kB / 1.164 GB, free: 83.72 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0308/2.561, allocations: 34.15 MB / 1.198 GB, free: 48.51 MB / 0.6077 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/2.561, allocations: 7.938 kB / 1.198 GB, free: 48.5 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0263/2.587, allocations: 18.51 MB / 1.216 GB, free: 29.79 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005703/2.593, allocations: 1.739 MB / 1.217 GB, free: 28.04 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002684/2.595, allocations: 128 kB / 1.218 GB, free: 27.91 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005528/2.601, allocations: 387.6 kB / 1.218 GB, free: 27.53 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002006/2.603, allocations: 0.5645 MB / 1.219 GB, free: 26.96 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007963/2.604, allocations: 203.9 kB / 1.219 GB, free: 26.77 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.00693/2.611, allocations: 4.47 MB / 1.223 GB, free: 22.31 MB / 0.6077 GB Notification: Performance of sort global known variables: time 3.71e-07/2.611, allocations: 0 / 1.223 GB, free: 22.31 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.01284/2.624, allocations: 3.055 MB / 1.226 GB, free: 19.26 MB / 0.6077 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.001727/2.625, allocations: 342.9 kB / 1.226 GB, free: 18.92 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.01877/2.644, allocations: 12.81 MB / 1.239 GB, free: 5.957 MB / 0.6077 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/2.644, allocations: 448 / 1.239 GB, free: 5.957 MB / 0.6077 GB Notification: Performance of simCode: created simulation system equations: time 0.01088/2.655, allocations: 7.147 MB / 1.246 GB, free: 14.66 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0127/2.668, allocations: 1.925 MB / 1.248 GB, free: 12.79 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3204/2.988, allocations: 31.99 MB / 1.279 GB, free: 185.4 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02868/3.017, allocations: 10.71 MB / 1.289 GB, free: 184.6 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00366/3.02, allocations: 0.6664 MB / 1.29 GB, free: 184.6 MB / 0.6233 GB Notification: Performance of SimCode: time 1.803e-06/3.02, allocations: 0 / 1.29 GB, free: 184.6 MB / 0.6233 GB Notification: Performance of Templates: time 2.512/5.532, allocations: 1.236 GB / 2.527 GB, free: 184.3 MB / 0.6545 GB " [Timeout remaining time 654] 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: 34.73623637203127] Failed to read output from testmodel.py, exit status != 0: 5.542060311883688 5.552241611 4.762385281 Calling exit ...