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.0008961/0.0008961, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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 0.8656/0.8656, allocations: 177.2 MB / 200.2 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001008/0.001008, allocations: 152.6 kB / 256.7 MB, free: 13.34 MB / 250.7 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.02161/0.02161, allocations: 6.661 MB / 319.8 MB, free: 26.78 MB / 266.7 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 1.623e-06/1.623e-06, allocations: 0 / 446.7 MB, free: 37.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.08e-05, allocations: 5.234 kB / 446.7 MB, free: 37.13 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.02134/0.02137, allocations: 39.41 MB / 486.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02058/0.04194, allocations: 11.8 MB / 497.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007726/0.04967, allocations: 433.6 kB / 498.3 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01492/0.06459, allocations: 12.26 MB / 0.4986 GB, free: 4.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01275/0.07734, allocations: 5.058 MB / 0.5035 GB, free: 15.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007269/0.08461, allocations: 3.037 MB / 0.5065 GB, free: 12.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02043/0.105, allocations: 21.99 MB / 0.528 GB, free: 6.797 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3351/0.4401, allocations: 26.56 MB / 0.5539 GB, free: 19.99 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01976/0.4599, allocations: 16.54 MB / 0.5701 GB, free: 19.99 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0144/0.4743, allocations: 10.5 MB / 0.5803 GB, free: 19.99 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007936/0.4822, allocations: 3.121 MB / 0.5834 GB, free: 19.99 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009488/0.4917, allocations: 3.568 MB / 0.5869 GB, free: 19.99 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007024/0.4987, allocations: 6.371 MB / 0.5931 GB, free: 19.31 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01422/0.5129, allocations: 7.99 MB / 0.6009 GB, free: 16.12 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03953/0.5524, allocations: 42.05 MB / 0.6419 GB, free: 9.781 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.5525, allocations: 8.797 kB / 0.642 GB, free: 9.773 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.816e-06/0.5525, allocations: 0 / 0.642 GB, free: 9.773 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001477/0.5539, allocations: 0.625 kB / 0.642 GB, free: 9.773 MB / 442.8 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.05917/0.6131, allocations: 24.09 MB / 0.6655 GB, free: 1.758 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.6132, allocations: 12.02 kB / 0.6655 GB, free: 1.746 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03476/0.6479, allocations: 11.33 MB / 0.6766 GB, free: 6.531 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02367/0.6716, allocations: 13.29 MB / 0.6895 GB, free: 9.707 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001092/0.6727, allocations: 1.367 MB / 0.6909 GB, free: 8.355 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007292/0.68, allocations: 1.789 MB / 0.6926 GB, free: 6.582 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06464/0.7446, allocations: 30.13 MB / 0.722 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004693/0.7451, allocations: 23.89 kB / 0.7221 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002869/0.748, allocations: 0.7392 MB / 0.7228 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007487/0.7487, allocations: 0.9868 MB / 0.7237 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3421/1.091, allocations: 27.33 MB / 0.7504 GB, free: 176.9 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0783/1.169, allocations: 81.9 MB / 0.8304 GB, free: 116.3 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01481/1.184, allocations: 18.82 MB / 0.8488 GB, free: 100.5 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005712/1.19, allocations: 6.707 MB / 0.8553 GB, free: 93.81 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01801/1.208, allocations: 18.01 MB / 0.8729 GB, free: 76.16 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/1.208, allocations: 108.5 kB / 0.873 GB, free: 76.05 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=677): time 7.745e-06/1.208, allocations: 0 / 0.873 GB, free: 76.05 MB / 0.5263 GB Notification: Performance of matching and sorting (n=685): time 0.04576/1.253, allocations: 37.49 MB / 0.9096 GB, free: 39.2 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/1.253, allocations: 147.1 kB / 0.9098 GB, free: 39.04 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005559/1.259, allocations: 6.844 MB / 0.9165 GB, free: 32.35 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.0003566/1.259, allocations: 137.7 kB / 0.9166 GB, free: 32.21 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.001844/1.261, allocations: 8.042 MB / 0.9244 GB, free: 24.28 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009289/1.262, allocations: 2.399 MB / 0.9268 GB, free: 21.91 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/1.264, allocations: 1.851 MB / 0.9286 GB, free: 20.05 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 2.555e-05/1.264, allocations: 305.1 kB / 0.9289 GB, free: 19.75 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004069/1.268, allocations: 4.887 MB / 0.9337 GB, free: 14.85 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004736/1.273, allocations: 8.296 MB / 0.9418 GB, free: 5.016 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1907/1.463, allocations: 13.91 MB / 0.9553 GB, free: 158.6 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.833e-05/1.463, allocations: 31.38 kB / 0.9554 GB, free: 158.6 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01703/1.48, allocations: 15.84 MB / 0.9708 GB, free: 152.7 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/1.481, allocations: 54.22 kB / 0.9709 GB, free: 152.7 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-05/1.481, allocations: 109.5 kB / 0.971 GB, free: 152.7 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003413/1.484, allocations: 2.545 MB / 0.9735 GB, free: 152 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/1.487, allocations: 2.08 MB / 0.9755 GB, free: 151.7 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0186/1.506, allocations: 29.43 MB / 1.004 GB, free: 129.7 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004167/1.51, allocations: 0.5156 MB / 1.005 GB, free: 129.3 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004671/1.511, allocations: 461.4 kB / 1.005 GB, free: 128.8 MB / 0.5263 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.0072/1.518, allocations: 6.742 MB / 1.012 GB, free: 123.1 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.519, allocations: 0.7656 MB / 1.013 GB, free: 122.8 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.531, allocations: 12.69 MB / 1.025 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007199/1.538, allocations: 8.206 MB / 1.033 GB, free: 104.2 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.924e-05/1.538, allocations: 32 kB / 1.033 GB, free: 104.2 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.306e-05/1.538, allocations: 35.86 kB / 1.033 GB, free: 104.1 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02481/1.563, allocations: 24.1 MB / 1.057 GB, free: 80.04 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/1.563, allocations: 4 kB / 1.057 GB, free: 80.03 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002325/1.566, allocations: 1.12 MB / 1.058 GB, free: 78.91 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003589/1.569, allocations: 2.638 MB / 1.06 GB, free: 76.25 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003162/1.569, allocations: 155.9 kB / 1.06 GB, free: 76.09 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/1.589, allocations: 34.14 MB / 1.094 GB, free: 41.24 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.589, allocations: 4 kB / 1.094 GB, free: 41.23 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/1.605, allocations: 18.49 MB / 1.112 GB, free: 22.97 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002906/1.608, allocations: 1.743 MB / 1.113 GB, free: 21.24 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006885/1.609, allocations: 128 kB / 1.114 GB, free: 21.11 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/1.611, allocations: 395.1 kB / 1.114 GB, free: 20.73 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008689/1.612, allocations: 0.5607 MB / 1.115 GB, free: 20.16 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002814/1.612, allocations: 203.9 kB / 1.115 GB, free: 19.96 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.004093/1.616, allocations: 4.474 MB / 1.119 GB, free: 15.51 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.71e-07/1.616, allocations: 0 / 1.119 GB, free: 15.51 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.007461/1.624, allocations: 3.055 MB / 1.122 GB, free: 12.46 MB / 0.5263 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.0007408/1.624, allocations: 363.4 kB / 1.122 GB, free: 12.11 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.01383/1.638, allocations: 12.79 MB / 1.135 GB, free: 15.18 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/1.638, allocations: 7.906 kB / 1.135 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.008618/1.647, allocations: 7.136 MB / 1.142 GB, free: 7.883 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007132/1.654, allocations: 1.917 MB / 1.144 GB, free: 6.012 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2305/1.884, allocations: 31.73 MB / 1.175 GB, free: 172.3 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007085/1.891, allocations: 10.72 MB / 1.185 GB, free: 170.9 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/1.893, allocations: 0.6633 MB / 1.186 GB, free: 170.3 MB / 0.5419 GB Notification: Performance of SimCode: time 1.272e-06/1.893, allocations: 3.75 kB / 1.186 GB, free: 170.3 MB / 0.5419 GB Notification: Performance of Templates: time 1.522/3.415, allocations: 1.236 GB / 2.422 GB, free: 188.3 MB / 0.5731 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: 20.441091663204134] Failed to read output from testmodel.py, exit status != 0: 3.4213538262993097 3.427266835 2.873312887 Calling exit ...