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.0009476/0.0009476, allocations: 73.88 kB / 20.65 MB, free: 3.844 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 1.009/1.009, allocations: 177.1 MB / 201 MB, free: 5.688 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.001192/0.001192, allocations: 148.7 kB / 257.7 MB, free: 12.96 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.02614/0.02614, allocations: 6.657 MB / 320.9 MB, free: 26.36 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.282e-06/1.282e-06, allocations: 0 / 392.9 MB, free: 2.266 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.781e-05, allocations: 2.312 kB / 392.9 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.159/0.159, allocations: 43.13 MB / 436 MB, free: 60.03 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02442/0.1834, allocations: 12.01 MB / 448 MB, free: 50.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009989/0.1934, allocations: 434.9 kB / 448.5 MB, free: 50.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0139/0.2073, allocations: 12.83 MB / 461.3 MB, free: 38.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01486/0.2222, allocations: 5.062 MB / 466.3 MB, free: 33 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00621/0.2284, allocations: 3.031 MB / 469.4 MB, free: 29.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01806/0.2465, allocations: 22.02 MB / 491.4 MB, free: 7.906 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03698/0.2834, allocations: 26.59 MB / 0.5058 GB, free: 13.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02478/0.3082, allocations: 16.75 MB / 0.5222 GB, free: 12.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01746/0.3257, allocations: 11.88 MB / 0.5338 GB, free: 424 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006626/0.3323, allocations: 3.109 MB / 0.5368 GB, free: 13.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0081/0.3404, allocations: 3.561 MB / 0.5403 GB, free: 9.742 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008154/0.3486, allocations: 6.46 MB / 0.5466 GB, free: 3.266 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2979/0.6465, allocations: 8.087 MB / 0.5545 GB, free: 49.96 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02834/0.6748, allocations: 19.82 MB / 0.5739 GB, free: 48.56 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.6748, allocations: 0 / 0.5739 GB, free: 48.56 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.162e-06/0.6748, allocations: 4.906 kB / 0.5739 GB, free: 48.56 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.0009726/0.6758, allocations: 2.875 kB / 0.5739 GB, free: 48.56 MB / 394.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.05344/0.7292, allocations: 24.39 MB / 0.5977 GB, free: 39.69 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.7293, allocations: 14.16 kB / 0.5977 GB, free: 39.69 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03728/0.7665, allocations: 10.88 MB / 0.6083 GB, free: 36.67 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02064/0.7872, allocations: 11.8 MB / 0.6199 GB, free: 27.45 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001101/0.7883, allocations: 1.366 MB / 0.6212 GB, free: 26.11 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007175/0.7954, allocations: 1.798 MB / 0.623 GB, free: 24.33 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04345/0.8389, allocations: 14.66 MB / 0.6373 GB, free: 10.24 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007088/0.8396, allocations: 26.62 kB / 0.6373 GB, free: 10.22 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005501/0.8451, allocations: 0.7453 MB / 0.638 GB, free: 9.492 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005575/0.8457, allocations: 0.9868 MB / 0.639 GB, free: 8.5 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02149/0.8672, allocations: 6.654 MB / 0.6455 GB, free: 1.816 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2697/1.137, allocations: 74.21 MB / 0.7179 GB, free: 89.47 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01996/1.157, allocations: 13.95 MB / 0.7316 GB, free: 88.56 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006023/1.163, allocations: 2.879 MB / 0.7344 GB, free: 88.46 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02179/1.185, allocations: 11.43 MB / 0.7455 GB, free: 87.73 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/1.185, allocations: 111.5 kB / 0.7457 GB, free: 87.69 MB / 458.8 MB Notification: Performance of pre-optimization done (n=677): time 8.216e-06/1.185, allocations: 0 / 0.7457 GB, free: 87.69 MB / 458.8 MB Notification: Performance of matching and sorting (n=685): time 0.05127/1.236, allocations: 19.13 MB / 0.7643 GB, free: 85.04 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/1.236, allocations: 152.2 kB / 0.7645 GB, free: 84.95 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007379/1.243, allocations: 6.067 MB / 0.7704 GB, free: 84.14 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001418/1.245, allocations: 137.6 kB / 0.7705 GB, free: 84.11 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003925/1.249, allocations: 8.459 MB / 0.7788 GB, free: 79.7 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002395/1.251, allocations: 2.516 MB / 0.7813 GB, free: 78.13 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002465/1.254, allocations: 2.092 MB / 0.7833 GB, free: 77.96 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 4.318e-05/1.254, allocations: 480.7 kB / 0.7838 GB, free: 77.49 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/1.255, allocations: 1.146 MB / 0.7849 GB, free: 77.24 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002802/1.258, allocations: 6.26 MB / 0.791 GB, free: 69.36 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005642/1.264, allocations: 8.329 MB / 0.7991 GB, free: 60.39 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.044e-05/1.264, allocations: 32 kB / 0.7992 GB, free: 60.36 MB / 458.8 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01052/1.274, allocations: 8.18 MB / 0.8071 GB, free: 53.8 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.407e-05/1.274, allocations: 52 kB / 0.8072 GB, free: 53.75 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.149e-05/1.274, allocations: 111.9 kB / 0.8073 GB, free: 53.64 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004441/1.279, allocations: 1.872 MB / 0.8091 GB, free: 51.95 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005605/1.284, allocations: 1.894 MB / 0.811 GB, free: 50.27 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/1.301, allocations: 22.85 MB / 0.8333 GB, free: 30.02 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006159/1.307, allocations: 340.4 kB / 0.8336 GB, free: 29.83 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/1.309, allocations: 376.8 kB / 0.834 GB, free: 29.54 MB / 458.8 MB 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.005354/1.314, allocations: 0.7854 MB / 0.8347 GB, free: 29.16 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001862/1.316, allocations: 0.9725 MB / 0.8357 GB, free: 28.26 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/1.326, allocations: 6.28 MB / 0.8418 GB, free: 23.19 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005357/1.332, allocations: 3.306 MB / 0.8451 GB, free: 20.23 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.073e-05/1.332, allocations: 28 kB / 0.8451 GB, free: 20.2 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.964e-05/1.332, allocations: 35.86 kB / 0.8451 GB, free: 20.17 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02623/1.358, allocations: 14.89 MB / 0.8597 GB, free: 9.488 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/1.358, allocations: 0 / 0.8597 GB, free: 9.488 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/1.36, allocations: 0.949 MB / 0.8606 GB, free: 8.59 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00387/1.364, allocations: 1.93 MB / 0.8625 GB, free: 6.664 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004885/1.365, allocations: 159.9 kB / 0.8626 GB, free: 6.508 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1854/1.55, allocations: 29.11 MB / 0.891 GB, free: 92.82 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.55, allocations: 6.125 kB / 0.8911 GB, free: 92.82 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/1.562, allocations: 7.508 MB / 0.8984 GB, free: 91.73 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002929/1.565, allocations: 1.459 MB / 0.8998 GB, free: 91.62 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008834/1.566, allocations: 128.9 kB / 0.8999 GB, free: 91.62 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/1.568, allocations: 203.8 kB / 0.9001 GB, free: 91.62 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009822/1.569, allocations: 0.5429 MB / 0.9007 GB, free: 91.61 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/1.569, allocations: 157.5 kB / 0.9008 GB, free: 91.61 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.003789/1.573, allocations: 2.687 MB / 0.9034 GB, free: 91.35 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.9e-07/1.573, allocations: 0 / 0.9034 GB, free: 91.35 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01125/1.584, allocations: 3.058 MB / 0.9064 GB, free: 91.35 MB / 474.8 MB 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.001656/1.586, allocations: 347.4 kB / 0.9067 GB, free: 91.26 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.009809/1.596, allocations: 7.448 MB / 0.914 GB, free: 89.4 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.596, allocations: 0 / 0.914 GB, free: 89.4 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005647/1.602, allocations: 5.212 MB / 0.9191 GB, free: 87.19 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007619/1.609, allocations: 1.988 MB / 0.9211 GB, free: 87.04 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0397/1.649, allocations: 26.96 MB / 0.9474 GB, free: 76.42 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00697/1.656, allocations: 4.981 MB / 0.9522 GB, free: 74.02 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.004418/1.66, allocations: 1.163 MB / 0.9534 GB, free: 73.11 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00344/1.664, allocations: 1.927 MB / 0.9553 GB, free: 71.57 MB / 474.8 MB Notification: Performance of SimCode: time 1.533e-06/1.664, allocations: 0 / 0.9553 GB, free: 71.57 MB / 474.8 MB Notification: Performance of Templates: time 0.3115/1.975, allocations: 134.7 MB / 1.087 GB, free: 142.8 MB / 0.4949 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.980568753089756]