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.0009778/0.0009778, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.029/1.029, allocations: 177.1 MB / 200.5 MB, free: 5.828 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.001615/0.001615, allocations: 160.6 kB / 257 MB, free: 13.2 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.02952/0.02952, allocations: 6.667 MB / 320.1 MB, free: 26.57 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.794e-06/1.794e-06, allocations: 0 / 391.7 MB, free: 2.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.73e-05, allocations: 6.312 kB / 391.7 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.1832/0.1832, allocations: 44.14 MB / 435.8 MB, free: 60.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02757/0.2108, allocations: 12.04 MB / 447.9 MB, free: 51.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01053/0.2213, allocations: 436.1 kB / 448.3 MB, free: 50.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01719/0.2385, allocations: 13.07 MB / 461.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01738/0.2559, allocations: 5.071 MB / 466.4 MB, free: 32.53 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008222/0.2641, allocations: 3.053 MB / 469.5 MB, free: 29.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02185/0.2859, allocations: 22 MB / 491.5 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04738/0.3333, allocations: 26.59 MB / 0.5059 GB, free: 12.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03073/0.364, allocations: 16.7 MB / 0.5223 GB, free: 11.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0194/0.3834, allocations: 11.66 MB / 0.5336 GB, free: 204 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008679/0.3921, allocations: 3.121 MB / 0.5367 GB, free: 13.07 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.4032, allocations: 3.565 MB / 0.5402 GB, free: 9.512 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00991/0.4131, allocations: 6.476 MB / 0.5465 GB, free: 3.02 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.3339/0.747, allocations: 8.099 MB / 0.5544 GB, free: 50.06 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03705/0.784, allocations: 19.86 MB / 0.5738 GB, free: 48.66 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.784, allocations: 3.125 kB / 0.5738 GB, free: 48.66 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.784, allocations: 0 / 0.5738 GB, free: 48.66 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.001333/0.7854, allocations: 1.125 kB / 0.5738 GB, free: 48.66 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.06243/0.8478, allocations: 25.65 MB / 0.5988 GB, free: 38.69 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.8478, allocations: 7.5 kB / 0.5988 GB, free: 38.69 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04603/0.8939, allocations: 14.22 MB / 0.6127 GB, free: 33.32 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01972/0.9136, allocations: 12.62 MB / 0.6251 GB, free: 21.25 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009145/0.9145, allocations: 1.368 MB / 0.6264 GB, free: 19.89 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00692/0.9214, allocations: 1.799 MB / 0.6282 GB, free: 18.11 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04632/0.9677, allocations: 15.99 MB / 0.6438 GB, free: 1.926 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005559/0.9683, allocations: 23.89 kB / 0.6438 GB, free: 1.902 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004542/0.9728, allocations: 0.7468 MB / 0.6445 GB, free: 1.176 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005792/0.9734, allocations: 0.9868 MB / 0.6455 GB, free: 188 kB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03049/1.004, allocations: 8.57 MB / 0.6538 GB, free: 7.598 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.252/1.256, allocations: 75.2 MB / 0.7273 GB, free: 147.4 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01985/1.276, allocations: 15.48 MB / 0.7424 GB, free: 146.4 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005775/1.282, allocations: 3.297 MB / 0.7456 GB, free: 146.3 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01943/1.301, allocations: 12.12 MB / 0.7575 GB, free: 145.6 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/1.301, allocations: 112.9 kB / 0.7576 GB, free: 145.6 MB / 474.8 MB Notification: Performance of pre-optimization done (n=677): time 7.354e-06/1.301, allocations: 0 / 0.7576 GB, free: 145.6 MB / 474.8 MB Notification: Performance of matching and sorting (n=685): time 0.04662/1.348, allocations: 24.82 MB / 0.7818 GB, free: 139.8 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/1.348, allocations: 161.5 kB / 0.782 GB, free: 139.6 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006995/1.355, allocations: 6.169 MB / 0.788 GB, free: 138.8 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.356, allocations: 137.5 kB / 0.7881 GB, free: 138.8 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003256/1.359, allocations: 8.421 MB / 0.7963 GB, free: 133.8 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00216/1.361, allocations: 2.499 MB / 0.7988 GB, free: 131.9 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002707/1.364, allocations: 2.059 MB / 0.8008 GB, free: 130.9 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.752e-05/1.364, allocations: 476.8 kB / 0.8012 GB, free: 130.4 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/1.367, allocations: 1.502 MB / 0.8027 GB, free: 129.4 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004205/1.371, allocations: 6.559 MB / 0.8091 GB, free: 121.7 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008941/1.38, allocations: 8.915 MB / 0.8178 GB, free: 112.2 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001328/1.38, allocations: 28 kB / 0.8178 GB, free: 112.2 MB / 474.8 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01658/1.397, allocations: 9.015 MB / 0.8266 GB, free: 105.3 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.62e-05/1.397, allocations: 52 kB / 0.8267 GB, free: 105.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/1.397, allocations: 108 kB / 0.8268 GB, free: 105.1 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004461/1.401, allocations: 1.942 MB / 0.8287 GB, free: 103.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005074/1.406, allocations: 2.086 MB / 0.8307 GB, free: 101.1 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/1.423, allocations: 23.72 MB / 0.8539 GB, free: 76.42 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0054/1.428, allocations: 0.5191 MB / 0.8544 GB, free: 75.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/1.43, allocations: 451.9 kB / 0.8548 GB, free: 75.46 MB / 474.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.005273/1.435, allocations: 0.7785 MB / 0.8556 GB, free: 74.66 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001553/1.437, allocations: 0.9795 MB / 0.8566 GB, free: 73.68 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00987/1.446, allocations: 6.946 MB / 0.8633 GB, free: 66.57 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005298/1.452, allocations: 3.83 MB / 0.8671 GB, free: 62.64 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.276e-05/1.452, allocations: 28 kB / 0.8671 GB, free: 62.62 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.763e-05/1.452, allocations: 31.88 kB / 0.8671 GB, free: 62.59 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02897/1.481, allocations: 19.41 MB / 0.8861 GB, free: 43.09 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/1.481, allocations: 8 kB / 0.8861 GB, free: 43.08 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002513/1.483, allocations: 1.12 MB / 0.8872 GB, free: 41.96 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004573/1.488, allocations: 2.01 MB / 0.8892 GB, free: 39.91 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001004/1.489, allocations: 155.9 kB / 0.8893 GB, free: 39.75 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01671/1.506, allocations: 30.04 MB / 0.9186 GB, free: 8.422 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.506, allocations: 7.938 kB / 0.9186 GB, free: 8.414 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1623/1.668, allocations: 8.49 MB / 0.9269 GB, free: 131.9 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005008/1.673, allocations: 1.588 MB / 0.9285 GB, free: 131.9 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002104/1.675, allocations: 122.8 kB / 0.9286 GB, free: 131.9 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003453/1.679, allocations: 391.6 kB / 0.929 GB, free: 131.9 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00144/1.68, allocations: 0.5718 MB / 0.9295 GB, free: 131.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004937/1.68, allocations: 207.5 kB / 0.9297 GB, free: 131.9 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.005564/1.686, allocations: 2.908 MB / 0.9326 GB, free: 131.6 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.41e-07/1.686, allocations: 0 / 0.9326 GB, free: 131.6 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01057/1.697, allocations: 3.057 MB / 0.9356 GB, free: 131.6 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.001224/1.698, allocations: 354.6 kB / 0.9359 GB, free: 131.6 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01295/1.711, allocations: 8.077 MB / 0.9438 GB, free: 129.5 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.711, allocations: 3.906 kB / 0.9438 GB, free: 129.5 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006021/1.717, allocations: 5.497 MB / 0.9492 GB, free: 127.3 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006649/1.723, allocations: 1.997 MB / 0.9511 GB, free: 127.1 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03662/1.76, allocations: 27.2 MB / 0.9777 GB, free: 117.3 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006814/1.767, allocations: 4.978 MB / 0.9825 GB, free: 116.8 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.005589/1.772, allocations: 2.715 MB / 0.9852 GB, free: 116.4 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/1.774, allocations: 0.5774 MB / 0.9858 GB, free: 116.4 MB / 474.8 MB Notification: Performance of SimCode: time 1.713e-06/1.774, allocations: 0 / 0.9858 GB, free: 116.4 MB / 474.8 MB Notification: Performance of Templates: time 0.2773/2.051, allocations: 122.2 MB / 1.105 GB, free: 162.7 MB / 474.8 MB " [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.578517124988139]