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.001159/0.001159, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.9952/0.9952, allocations: 177.1 MB / 200 MB, free: 5.844 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.001823/0.001823, allocations: 156.7 kB / 256.6 MB, free: 13.15 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.02361/0.02361, allocations: 6.657 MB / 319.8 MB, free: 26.52 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.673e-06/1.673e-06, allocations: 0 / 391.7 MB, free: 2.559 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.486e-05, allocations: 9.766 kB / 391.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.1601/0.1602, allocations: 44.4 MB / 436.1 MB, free: 60.29 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02186/0.182, allocations: 12.06 MB / 448.1 MB, free: 50.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008605/0.1906, allocations: 433.6 kB / 448.5 MB, free: 50.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01503/0.2057, allocations: 13.1 MB / 461.6 MB, free: 37.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0135/0.2192, allocations: 5.091 MB / 466.7 MB, free: 32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006701/0.2259, allocations: 3.05 MB / 469.8 MB, free: 28.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01854/0.2444, allocations: 22.01 MB / 491.8 MB, free: 6.898 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04441/0.2888, allocations: 26.59 MB / 0.5062 GB, free: 12.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0311/0.3199, allocations: 16.7 MB / 0.5226 GB, free: 11.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01806/0.338, allocations: 11.7 MB / 0.534 GB, free: 15.63 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007742/0.3457, allocations: 3.121 MB / 0.537 GB, free: 12.51 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.3573, allocations: 3.569 MB / 0.5405 GB, free: 8.941 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0102/0.3675, allocations: 6.48 MB / 0.5468 GB, free: 2.445 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2819/0.6494, allocations: 8.095 MB / 0.5547 GB, free: 50.4 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03111/0.6805, allocations: 19.86 MB / 0.5741 GB, free: 49 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.6805, allocations: 3.469 kB / 0.5741 GB, free: 49 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6805, allocations: 0 / 0.5741 GB, free: 49 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.001103/0.6816, allocations: 0 / 0.5741 GB, free: 49 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.05323/0.7349, allocations: 25.65 MB / 0.5992 GB, free: 38.55 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.7349, allocations: 15.41 kB / 0.5992 GB, free: 38.54 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03923/0.7741, allocations: 14.2 MB / 0.6131 GB, free: 33.25 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02111/0.7953, allocations: 12.63 MB / 0.6254 GB, free: 21.17 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001065/0.7963, allocations: 1.359 MB / 0.6267 GB, free: 19.83 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006869/0.8032, allocations: 1.801 MB / 0.6285 GB, free: 18.04 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04684/0.85, allocations: 15.99 MB / 0.6441 GB, free: 1.855 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005432/0.8506, allocations: 19.89 kB / 0.6441 GB, free: 1.836 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003821/0.8544, allocations: 0.7415 MB / 0.6449 GB, free: 1.109 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005276/0.8549, allocations: 0.9905 MB / 0.6458 GB, free: 120 kB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03002/0.8849, allocations: 8.574 MB / 0.6542 GB, free: 7.527 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.286/1.171, allocations: 75.2 MB / 0.7276 GB, free: 104.3 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01958/1.19, allocations: 15.46 MB / 0.7427 GB, free: 103.4 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006192/1.197, allocations: 3.298 MB / 0.746 GB, free: 103.3 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0225/1.219, allocations: 12.12 MB / 0.7578 GB, free: 102.6 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.293e-05/1.219, allocations: 111.6 kB / 0.7579 GB, free: 102.5 MB / 474.8 MB Notification: Performance of pre-optimization done (n=677): time 1.102e-05/1.219, allocations: 0 / 0.7579 GB, free: 102.5 MB / 474.8 MB Notification: Performance of matching and sorting (n=685): time 0.04779/1.267, allocations: 24.84 MB / 0.7822 GB, free: 97 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/1.267, allocations: 148.4 kB / 0.7823 GB, free: 96.91 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007661/1.275, allocations: 6.163 MB / 0.7883 GB, free: 96.1 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001194/1.276, allocations: 134.8 kB / 0.7884 GB, free: 96.07 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003619/1.28, allocations: 8.424 MB / 0.7967 GB, free: 91.65 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002426/1.282, allocations: 2.495 MB / 0.7991 GB, free: 90.09 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002631/1.285, allocations: 2.053 MB / 0.8011 GB, free: 89.93 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 4.264e-05/1.285, allocations: 480.5 kB / 0.8016 GB, free: 89.46 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/1.288, allocations: 1.501 MB / 0.803 GB, free: 88.52 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004512/1.292, allocations: 6.57 MB / 0.8095 GB, free: 80.87 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008243/1.3, allocations: 8.916 MB / 0.8182 GB, free: 71.84 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/1.3, allocations: 28 kB / 0.8182 GB, free: 71.82 MB / 474.8 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01572/1.316, allocations: 9.013 MB / 0.827 GB, free: 64.86 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.495e-05/1.316, allocations: 52 kB / 0.827 GB, free: 64.81 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/1.316, allocations: 108 kB / 0.8271 GB, free: 64.7 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004273/1.321, allocations: 1.952 MB / 0.829 GB, free: 62.95 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004884/1.325, allocations: 2.074 MB / 0.8311 GB, free: 61.08 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/1.341, allocations: 23.73 MB / 0.8542 GB, free: 40.17 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005047/1.346, allocations: 0.5174 MB / 0.8547 GB, free: 39.8 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009775/1.347, allocations: 453.7 kB / 0.8552 GB, free: 39.43 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.004956/1.352, allocations: 0.7805 MB / 0.8559 GB, free: 39 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/1.353, allocations: 0.9756 MB / 0.8569 GB, free: 38.02 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00952/1.363, allocations: 6.95 MB / 0.8637 GB, free: 31 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006106/1.369, allocations: 3.836 MB / 0.8674 GB, free: 27.14 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.318e-05/1.369, allocations: 28 kB / 0.8675 GB, free: 27.11 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-05/1.369, allocations: 31.88 kB / 0.8675 GB, free: 27.08 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03239/1.401, allocations: 19.4 MB / 0.8864 GB, free: 7.723 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.401, allocations: 7.938 kB / 0.8864 GB, free: 7.715 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002465/1.404, allocations: 1.121 MB / 0.8875 GB, free: 6.645 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004037/1.408, allocations: 2.022 MB / 0.8895 GB, free: 4.602 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004669/1.408, allocations: 155.9 kB / 0.8897 GB, free: 4.449 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2292/1.638, allocations: 30.04 MB / 0.919 GB, free: 78.24 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.638, allocations: 6 kB / 0.919 GB, free: 78.24 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02379/1.661, allocations: 8.492 MB / 0.9273 GB, free: 77.12 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005417/1.667, allocations: 1.588 MB / 0.9288 GB, free: 77.12 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001807/1.669, allocations: 128 kB / 0.929 GB, free: 77.12 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/1.671, allocations: 390.2 kB / 0.9293 GB, free: 77.12 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001075/1.672, allocations: 0.5701 MB / 0.9299 GB, free: 77.11 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000324/1.672, allocations: 207.2 kB / 0.9301 GB, free: 77.11 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.003643/1.676, allocations: 2.907 MB / 0.9329 GB, free: 76.85 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.5e-07/1.676, allocations: 0 / 0.9329 GB, free: 76.85 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007206/1.683, allocations: 3.057 MB / 0.9359 GB, free: 76.85 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.0006531/1.684, allocations: 350.7 kB / 0.9362 GB, free: 76.76 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.009026/1.693, allocations: 8.084 MB / 0.9441 GB, free: 74.93 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.693, allocations: 0 / 0.9441 GB, free: 74.93 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004443/1.697, allocations: 5.494 MB / 0.9495 GB, free: 72.79 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004393/1.702, allocations: 2.003 MB / 0.9515 GB, free: 72.6 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03068/1.732, allocations: 27.2 MB / 0.978 GB, free: 58.96 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003381/1.736, allocations: 4.982 MB / 0.9829 GB, free: 56.56 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.004472/1.74, allocations: 2.718 MB / 0.9855 GB, free: 54.88 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.741, allocations: 0.5766 MB / 0.9861 GB, free: 54.38 MB / 474.8 MB Notification: Performance of SimCode: time 2.194e-06/1.741, allocations: 0 / 0.9861 GB, free: 54.38 MB / 474.8 MB Notification: Performance of Templates: time 0.2867/2.028, allocations: 122.3 MB / 1.106 GB, free: 144.1 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.489435154944658]