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.0006883/0.0006883, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008634/0.001552, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.9472/0.9472, allocations: 177.2 MB / 188.2 MB, free: 4.504 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1825/1.13, allocations: 53.64 MB / 241.9 MB, free: 2.746 MB / 234.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.0008981/0.0008981, allocations: 147.7 kB / 242.8 MB, free: 1.887 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001172/0.002071, allocations: 491.2 kB / 243.2 MB, free: 1.426 MB / 234.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.03288/0.03288, allocations: 6.658 MB / 250.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005221/0.0381, allocations: 2.659 MB / 253.3 MB, free: 7.582 MB / 250.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.633e-06/1.633e-06, allocations: 0 / 254.6 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.312e-05, allocations: 4.422 kB / 254.6 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.03443/0.03445, allocations: 43.49 MB / 298.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02612/0.06057, allocations: 12.76 MB / 310.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009918/0.07049, allocations: 433.6 kB / 311.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0164/0.08689, allocations: 13.15 MB / 324.4 MB, free: 168 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1861/0.2729, allocations: 5.045 MB / 329.5 MB, free: 5.688 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0073/0.2802, allocations: 3.035 MB / 332.5 MB, free: 5.676 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02276/0.303, allocations: 22.15 MB / 354.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04433/0.3473, allocations: 27.06 MB / 381.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03036/0.3777, allocations: 17.39 MB / 399.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02165/0.3993, allocations: 11.97 MB / 411.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01101/0.4104, allocations: 3.113 MB / 414.2 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01237/0.4227, allocations: 3.566 MB / 417.7 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00961/0.4323, allocations: 5.175 MB / 422.9 MB, free: 5.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02296/0.4553, allocations: 6.767 MB / 429.7 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03306/0.4883, allocations: 18.77 MB / 448.4 MB, free: 12.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/0.4884, allocations: 0 / 448.4 MB, free: 12.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4884, allocations: 0 / 448.4 MB, free: 12.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001033/0.4894, allocations: 0 / 448.4 MB, free: 12.7 MB / 410.7 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.04785/0.5373, allocations: 26.92 MB / 475.4 MB, free: 2.906 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.5373, allocations: 8.031 kB / 475.4 MB, free: 2.898 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2976/0.8349, allocations: 11.29 MB / 486.7 MB, free: 91.08 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01547/0.8503, allocations: 7.006 MB / 493.7 MB, free: 90.04 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009658/0.8513, allocations: 1.362 MB / 495 MB, free: 90 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00491/0.8562, allocations: 1.796 MB / 496.8 MB, free: 89.99 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03432/0.8905, allocations: 14.97 MB / 0.4998 GB, free: 88.47 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005959/0.8911, allocations: 33.3 kB / 0.4998 GB, free: 88.46 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003383/0.8945, allocations: 0.7381 MB / 0.5006 GB, free: 88.46 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008079/0.8953, allocations: 0.9901 MB / 0.5015 GB, free: 88.42 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01964/0.9149, allocations: 7.315 MB / 0.5087 GB, free: 87.93 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07818/0.9931, allocations: 57 MB / 0.5643 GB, free: 34.63 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/1.005, allocations: 10.49 MB / 0.5746 GB, free: 24.34 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00412/1.009, allocations: 2.55 MB / 0.5771 GB, free: 21.88 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01652/1.025, allocations: 8.828 MB / 0.5857 GB, free: 13.39 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/1.025, allocations: 108.5 kB / 0.5858 GB, free: 13.28 MB / 426.8 MB Notification: Performance of pre-optimization done (n=677): time 8.256e-06/1.025, allocations: 4 kB / 0.5858 GB, free: 13.27 MB / 426.8 MB Notification: Performance of matching and sorting (n=685): time 0.0351/1.06, allocations: 17.73 MB / 0.6031 GB, free: 11.71 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/1.06, allocations: 154.8 kB / 0.6033 GB, free: 11.55 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004776/1.065, allocations: 4.566 MB / 0.6077 GB, free: 7.926 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009825/1.066, allocations: 137.7 kB / 0.6079 GB, free: 7.785 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003136/1.069, allocations: 7.145 MB / 0.6148 GB, free: 0.875 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002231/1.072, allocations: 2.411 MB / 0.6172 GB, free: 14.6 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002366/1.074, allocations: 1.709 MB / 0.6189 GB, free: 13.07 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 6.463e-05/1.074, allocations: 309.1 kB / 0.6192 GB, free: 12.77 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/1.076, allocations: 1.297 MB / 0.6204 GB, free: 11.46 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003233/1.079, allocations: 4.43 MB / 0.6247 GB, free: 5.785 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.155/1.234, allocations: 6.673 MB / 0.6313 GB, free: 94.5 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/1.234, allocations: 32.78 kB / 0.6313 GB, free: 94.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01091/1.245, allocations: 6.661 MB / 0.6378 GB, free: 94.13 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.813e-05/1.245, allocations: 55 kB / 0.6379 GB, free: 94.13 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.245, allocations: 109.8 kB / 0.638 GB, free: 94.13 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003506/1.249, allocations: 1.764 MB / 0.6397 GB, free: 93.99 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004874/1.254, allocations: 2.168 MB / 0.6418 GB, free: 93.98 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/1.265, allocations: 17.22 MB / 0.6586 GB, free: 84.04 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/1.27, allocations: 331.7 kB / 0.6589 GB, free: 84.03 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/1.271, allocations: 366.5 kB / 0.6593 GB, free: 84.03 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.003967/1.275, allocations: 0.728 MB / 0.66 GB, free: 83.91 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/1.276, allocations: 0.6583 MB / 0.6606 GB, free: 83.91 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007184/1.284, allocations: 5.249 MB / 0.6658 GB, free: 83.34 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003277/1.287, allocations: 2.551 MB / 0.6682 GB, free: 83.07 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.877e-05/1.287, allocations: 31.19 kB / 0.6683 GB, free: 83.07 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.303e-05/1.287, allocations: 36.42 kB / 0.6683 GB, free: 83.07 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/1.306, allocations: 10.39 MB / 0.6785 GB, free: 82.06 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/1.306, allocations: 2.812 kB / 0.6785 GB, free: 82.06 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003812/1.31, allocations: 1.506 MB / 0.6799 GB, free: 82.04 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002892/1.313, allocations: 0.9615 MB / 0.6809 GB, free: 82.04 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003658/1.317, allocations: 1.804 MB / 0.6826 GB, free: 81.84 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007993/1.317, allocations: 143.6 kB / 0.6828 GB, free: 81.84 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01255/1.33, allocations: 21.75 MB / 0.704 GB, free: 67.28 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/1.33, allocations: 7.391 kB / 0.704 GB, free: 67.28 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009176/1.339, allocations: 6.237 MB / 0.7101 GB, free: 65.84 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001319/1.34, allocations: 121.7 kB / 0.7102 GB, free: 65.75 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/1.342, allocations: 212.4 kB / 0.7104 GB, free: 65.65 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008596/1.343, allocations: 0.522 MB / 0.7109 GB, free: 65.56 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003015/1.344, allocations: 138.7 kB / 0.7111 GB, free: 65.52 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00222/1.346, allocations: 2.2 MB / 0.7132 GB, free: 64.53 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.01e-07/1.346, allocations: 0 / 0.7132 GB, free: 64.53 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.007526/1.353, allocations: 3.06 MB / 0.7162 GB, free: 61.48 MB / 458.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.001074/1.354, allocations: 336.7 kB / 0.7165 GB, free: 61.21 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007463/1.362, allocations: 6.258 MB / 0.7226 GB, free: 55.93 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003398/1.362, allocations: 155.2 kB / 0.7228 GB, free: 55.76 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00447/1.367, allocations: 4.257 MB / 0.7269 GB, free: 52.01 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007306/1.374, allocations: 2.557 MB / 0.7294 GB, free: 49.55 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1357/1.51, allocations: 27.84 MB / 0.7566 GB, free: 21.67 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008348/1.518, allocations: 3.669 MB / 0.7602 GB, free: 17.97 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004616/1.523, allocations: 1.159 MB / 0.7613 GB, free: 16.8 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00343/1.526, allocations: 1.725 MB / 0.763 GB, free: 15.05 MB / 458.8 MB Notification: Performance of SimCode: time 1.723e-06/1.526, allocations: 4 kB / 0.763 GB, free: 15.04 MB / 458.8 MB Notification: Performance of Templates: time 0.3162/1.842, allocations: 138.6 MB / 0.8983 GB, free: 81.01 MB / 490.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.369652749970555]