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.0009664/0.0009664, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.056/1.056, allocations: 177.1 MB / 200.3 MB, free: 5.707 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.001504/0.001504, allocations: 148.7 kB / 256.9 MB, free: 12.98 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.02453/0.02453, allocations: 6.65 MB / 320.1 MB, free: 26.35 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.944e-06/1.944e-06, allocations: 0 / 392.1 MB, free: 2.246 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.878e-05, allocations: 2.312 kB / 392.1 MB, free: 2.242 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.208/0.208, allocations: 43.13 MB / 435.2 MB, free: 60.03 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02815/0.2361, allocations: 12.01 MB / 447.2 MB, free: 50.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01369/0.2498, allocations: 432.9 kB / 447.7 MB, free: 50.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01913/0.2689, allocations: 12.83 MB / 460.5 MB, free: 38.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01693/0.2859, allocations: 5.062 MB / 465.6 MB, free: 32.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008161/0.294, allocations: 3.029 MB / 468.6 MB, free: 29.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02281/0.3169, allocations: 22.02 MB / 490.6 MB, free: 7.891 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04809/0.3649, allocations: 26.59 MB / 0.5051 GB, free: 13.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03325/0.3982, allocations: 16.76 MB / 0.5214 GB, free: 12.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01901/0.4172, allocations: 11.88 MB / 0.533 GB, free: 404 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01027/0.4275, allocations: 3.113 MB / 0.5361 GB, free: 13.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01342/0.4409, allocations: 3.557 MB / 0.5395 GB, free: 9.723 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01002/0.4509, allocations: 6.464 MB / 0.5459 GB, free: 3.242 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.3531/0.804, allocations: 8.084 MB / 0.5538 GB, free: 50.1 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03655/0.8406, allocations: 19.82 MB / 0.5731 GB, free: 48.7 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.8406, allocations: 0 / 0.5731 GB, free: 48.7 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.415e-06/0.8406, allocations: 2.844 kB / 0.5731 GB, free: 48.7 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.001903/0.8425, allocations: 0 / 0.5731 GB, free: 48.7 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.06414/0.9066, allocations: 24.4 MB / 0.5969 GB, free: 39.79 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.9067, allocations: 10.12 kB / 0.597 GB, free: 39.79 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03921/0.9459, allocations: 10.88 MB / 0.6076 GB, free: 36.77 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02223/0.9681, allocations: 11.8 MB / 0.6191 GB, free: 27.47 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00107/0.9692, allocations: 1.364 MB / 0.6204 GB, free: 26.12 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006867/0.976, allocations: 1.794 MB / 0.6222 GB, free: 24.35 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04495/1.021, allocations: 14.67 MB / 0.6365 GB, free: 10.25 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005502/1.022, allocations: 17.86 kB / 0.6365 GB, free: 10.24 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005378/1.027, allocations: 0.7359 MB / 0.6372 GB, free: 9.52 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000575/1.028, allocations: 1.001 MB / 0.6382 GB, free: 8.52 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02321/1.051, allocations: 6.651 MB / 0.6447 GB, free: 1.836 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2872/1.338, allocations: 74.23 MB / 0.7172 GB, free: 89.93 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01753/1.355, allocations: 13.94 MB / 0.7308 GB, free: 89.02 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004929/1.36, allocations: 2.878 MB / 0.7336 GB, free: 88.92 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02113/1.381, allocations: 11.48 MB / 0.7448 GB, free: 88.14 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.363e-05/1.382, allocations: 111.8 kB / 0.7449 GB, free: 88.09 MB / 458.8 MB Notification: Performance of pre-optimization done (n=677): time 9.408e-06/1.382, allocations: 0 / 0.7449 GB, free: 88.09 MB / 458.8 MB Notification: Performance of matching and sorting (n=685): time 0.04359/1.425, allocations: 19.15 MB / 0.7636 GB, free: 85.43 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/1.425, allocations: 148 kB / 0.7638 GB, free: 85.33 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007306/1.433, allocations: 6.062 MB / 0.7697 GB, free: 84.52 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001222/1.434, allocations: 138.9 kB / 0.7698 GB, free: 84.49 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003255/1.437, allocations: 8.459 MB / 0.7781 GB, free: 80.07 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002466/1.439, allocations: 2.525 MB / 0.7806 GB, free: 78.51 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002429/1.442, allocations: 2.088 MB / 0.7826 GB, free: 78.34 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 5.094e-05/1.442, allocations: 480.7 kB / 0.7831 GB, free: 77.87 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001974/1.444, allocations: 1.146 MB / 0.7842 GB, free: 77.34 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/1.447, allocations: 6.249 MB / 0.7903 GB, free: 69.47 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006213/1.453, allocations: 8.337 MB / 0.7984 GB, free: 60.5 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.306e-05/1.453, allocations: 28 kB / 0.7984 GB, free: 60.47 MB / 458.8 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01161/1.465, allocations: 8.18 MB / 0.8064 GB, free: 53.91 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/1.465, allocations: 52 kB / 0.8065 GB, free: 53.86 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/1.465, allocations: 111.9 kB / 0.8066 GB, free: 53.75 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003896/1.469, allocations: 1.867 MB / 0.8084 GB, free: 52.06 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004815/1.474, allocations: 1.896 MB / 0.8103 GB, free: 50.37 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/1.487, allocations: 22.87 MB / 0.8326 GB, free: 30.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00594/1.493, allocations: 341.4 kB / 0.8329 GB, free: 29.92 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001727/1.495, allocations: 384.1 kB / 0.8333 GB, free: 29.62 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.00619/1.501, allocations: 0.7717 MB / 0.834 GB, free: 29.24 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002218/1.504, allocations: 0.973 MB / 0.835 GB, free: 28.35 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00932/1.513, allocations: 6.287 MB / 0.8411 GB, free: 23.27 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004154/1.517, allocations: 3.305 MB / 0.8444 GB, free: 20.31 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.087e-05/1.517, allocations: 28 kB / 0.8444 GB, free: 20.29 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.766e-05/1.517, allocations: 35.86 kB / 0.8444 GB, free: 20.25 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02625/1.543, allocations: 14.9 MB / 0.859 GB, free: 9.469 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/1.543, allocations: 0 / 0.859 GB, free: 9.469 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/1.546, allocations: 0.9467 MB / 0.8599 GB, free: 8.574 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003838/1.549, allocations: 1.928 MB / 0.8618 GB, free: 6.648 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006182/1.55, allocations: 163.9 kB / 0.8619 GB, free: 6.488 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1954/1.746, allocations: 29.14 MB / 0.8904 GB, free: 93.56 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.746, allocations: 4.656 kB / 0.8904 GB, free: 93.56 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/1.763, allocations: 7.506 MB / 0.8977 GB, free: 92.48 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00397/1.767, allocations: 1.456 MB / 0.8991 GB, free: 92.38 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001625/1.768, allocations: 125.3 kB / 0.8993 GB, free: 92.38 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002961/1.771, allocations: 208.5 kB / 0.8995 GB, free: 92.38 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/1.772, allocations: 0.5425 MB / 0.9 GB, free: 92.37 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000431/1.773, allocations: 158.8 kB / 0.9001 GB, free: 92.37 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004712/1.778, allocations: 2.677 MB / 0.9028 GB, free: 92.11 MB / 474.8 MB Notification: Performance of sort global known variables: time 2e-07/1.778, allocations: 1.406 kB / 0.9028 GB, free: 92.11 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0121/1.79, allocations: 3.053 MB / 0.9057 GB, free: 92.11 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.001509/1.791, allocations: 364.2 kB / 0.9061 GB, free: 92.02 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01151/1.803, allocations: 7.443 MB / 0.9134 GB, free: 90.16 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.803, allocations: 3.906 kB / 0.9134 GB, free: 90.16 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0055/1.808, allocations: 5.22 MB / 0.9185 GB, free: 87.95 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006934/1.815, allocations: 1.978 MB / 0.9204 GB, free: 87.81 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04127/1.856, allocations: 26.97 MB / 0.9467 GB, free: 76.48 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008979/1.865, allocations: 4.979 MB / 0.9516 GB, free: 74.08 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.005889/1.871, allocations: 1.151 MB / 0.9527 GB, free: 73.18 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004834/1.876, allocations: 1.938 MB / 0.9546 GB, free: 71.64 MB / 474.8 MB Notification: Performance of SimCode: time 1.102e-06/1.876, allocations: 0 / 0.9546 GB, free: 71.64 MB / 474.8 MB Notification: Performance of Templates: time 0.3416/2.218, allocations: 132.5 MB / 1.084 GB, free: 144.6 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.951744734775275]