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.0009915/0.0009915, 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.99/0.99, 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.001507/0.001507, allocations: 160.7 kB / 256.6 MB, free: 13.14 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.02985/0.02985, allocations: 6.659 MB / 319.8 MB, free: 26.51 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.523e-06/1.523e-06, allocations: 0 / 391.7 MB, free: 2.535 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.841e-05, allocations: 2.312 kB / 391.7 MB, free: 2.531 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.1869/0.187, allocations: 44.4 MB / 436.1 MB, free: 60.28 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02638/0.2134, allocations: 12.05 MB / 448.1 MB, free: 50.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01142/0.2248, allocations: 433.6 kB / 448.5 MB, free: 50.24 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01781/0.2426, allocations: 13.12 MB / 461.7 MB, free: 37.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01752/0.2601, allocations: 5.087 MB / 466.8 MB, free: 31.97 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007628/0.2677, allocations: 3.058 MB / 469.8 MB, free: 28.92 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02148/0.2892, allocations: 22 MB / 491.8 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04432/0.3335, allocations: 26.6 MB / 0.5063 GB, free: 12.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03539/0.3689, allocations: 16.75 MB / 0.5226 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02102/0.39, allocations: 11.82 MB / 0.5342 GB, free: 15.43 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01363/0.4036, allocations: 3.113 MB / 0.5372 GB, free: 12.31 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01368/0.4173, allocations: 3.573 MB / 0.5407 GB, free: 8.738 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01226/0.4295, allocations: 6.464 MB / 0.547 GB, free: 2.258 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.3282/0.7577, allocations: 8.079 MB / 0.5549 GB, free: 50.38 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03463/0.7923, allocations: 19.82 MB / 0.5742 GB, free: 48.97 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7923, allocations: 0 / 0.5742 GB, free: 48.97 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.513e-06/0.7923, allocations: 0 / 0.5742 GB, free: 48.97 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.001211/0.7936, allocations: 0 / 0.5742 GB, free: 48.97 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.05796/0.8515, allocations: 25.64 MB / 0.5993 GB, free: 38.48 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.8516, allocations: 9.719 kB / 0.5993 GB, free: 38.48 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04279/0.8944, allocations: 14.21 MB / 0.6132 GB, free: 33.29 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02327/0.9176, allocations: 12.6 MB / 0.6255 GB, free: 21.25 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001102/0.9187, allocations: 1.358 MB / 0.6268 GB, free: 19.9 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008108/0.9268, allocations: 1.796 MB / 0.6285 GB, free: 18.12 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06124/0.9881, allocations: 15.99 MB / 0.6442 GB, free: 1.93 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007806/0.9889, allocations: 19.09 kB / 0.6442 GB, free: 1.914 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00801/0.9969, allocations: 0.7437 MB / 0.6449 GB, free: 1.188 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007522/0.9976, allocations: 0.9928 MB / 0.6459 GB, free: 196 kB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03723/1.035, allocations: 8.566 MB / 0.6542 GB, free: 7.609 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3275/1.362, allocations: 75.19 MB / 0.7277 GB, free: 83.75 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02082/1.383, allocations: 15.48 MB / 0.7428 GB, free: 82.81 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006401/1.39, allocations: 3.303 MB / 0.746 GB, free: 82.7 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02264/1.412, allocations: 12.12 MB / 0.7578 GB, free: 81.96 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.706e-05/1.412, allocations: 112.8 kB / 0.758 GB, free: 81.91 MB / 458.8 MB Notification: Performance of pre-optimization done (n=677): time 8.326e-06/1.412, allocations: 0 / 0.758 GB, free: 81.91 MB / 458.8 MB Notification: Performance of matching and sorting (n=685): time 0.05531/1.468, allocations: 24.84 MB / 0.7822 GB, free: 75.49 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/1.468, allocations: 147.1 kB / 0.7823 GB, free: 75.33 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008171/1.476, allocations: 6.165 MB / 0.7884 GB, free: 71.09 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001293/1.477, allocations: 145.8 kB / 0.7885 GB, free: 71.03 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003245/1.48, allocations: 8.417 MB / 0.7967 GB, free: 64.46 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00207/1.482, allocations: 2.494 MB / 0.7992 GB, free: 62.38 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002013/1.484, allocations: 2.059 MB / 0.8012 GB, free: 61.21 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 3.734e-05/1.484, allocations: 480.7 kB / 0.8016 GB, free: 60.74 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002582/1.487, allocations: 1.502 MB / 0.8031 GB, free: 59.41 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004075/1.491, allocations: 6.563 MB / 0.8095 GB, free: 51.36 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007473/1.499, allocations: 8.922 MB / 0.8182 GB, free: 42.07 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.775e-05/1.499, allocations: 28 kB / 0.8182 GB, free: 42.04 MB / 458.8 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01344/1.512, allocations: 9.016 MB / 0.8271 GB, free: 35.05 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.491e-05/1.512, allocations: 52 kB / 0.8271 GB, free: 35 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/1.512, allocations: 108 kB / 0.8272 GB, free: 34.89 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00406/1.516, allocations: 1.94 MB / 0.8291 GB, free: 33.15 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004911/1.521, allocations: 2.077 MB / 0.8311 GB, free: 31.28 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/1.537, allocations: 23.72 MB / 0.8543 GB, free: 8.176 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005301/1.542, allocations: 0.5113 MB / 0.8548 GB, free: 7.664 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001349/1.543, allocations: 459.9 kB / 0.8552 GB, free: 7.215 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.004863/1.548, allocations: 0.7836 MB / 0.856 GB, free: 6.562 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001629/1.55, allocations: 0.9717 MB / 0.8569 GB, free: 5.586 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/1.56, allocations: 6.953 MB / 0.8637 GB, free: 14.57 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006373/1.566, allocations: 3.83 MB / 0.8675 GB, free: 10.71 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-05/1.566, allocations: 31.28 kB / 0.8675 GB, free: 10.68 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.411e-05/1.566, allocations: 35.86 kB / 0.8675 GB, free: 10.64 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2179/1.784, allocations: 19.4 MB / 0.8865 GB, free: 101.5 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/1.784, allocations: 5.422 kB / 0.8865 GB, free: 101.5 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003134/1.787, allocations: 1.116 MB / 0.8876 GB, free: 101.5 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005185/1.792, allocations: 2.004 MB / 0.8895 GB, free: 101.4 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009314/1.793, allocations: 161 kB / 0.8897 GB, free: 101.4 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01934/1.813, allocations: 30.05 MB / 0.919 GB, free: 81.04 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/1.813, allocations: 5.844 kB / 0.919 GB, free: 81.04 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/1.83, allocations: 8.495 MB / 0.9273 GB, free: 79.9 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004103/1.834, allocations: 1.591 MB / 0.9289 GB, free: 79.9 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/1.835, allocations: 134.8 kB / 0.929 GB, free: 79.89 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00292/1.838, allocations: 388.7 kB / 0.9294 GB, free: 79.89 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001405/1.84, allocations: 0.5726 MB / 0.9299 GB, free: 79.88 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004252/1.84, allocations: 204.6 kB / 0.9301 GB, free: 79.88 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004755/1.845, allocations: 2.911 MB / 0.933 GB, free: 79.62 MB / 474.8 MB Notification: Performance of sort global known variables: time 3.51e-07/1.845, allocations: 2.812 kB / 0.933 GB, free: 79.62 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01182/1.857, allocations: 3.05 MB / 0.936 GB, free: 79.62 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.001434/1.858, allocations: 343.6 kB / 0.9363 GB, free: 79.53 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01311/1.871, allocations: 8.085 MB / 0.9442 GB, free: 77.7 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/1.871, allocations: 8.188 kB / 0.9442 GB, free: 77.7 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006974/1.878, allocations: 5.501 MB / 0.9496 GB, free: 75.32 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00786/1.886, allocations: 1.982 MB / 0.9515 GB, free: 74.19 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04183/1.928, allocations: 27.21 MB / 0.9781 GB, free: 52.15 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005858/1.934, allocations: 4.977 MB / 0.9829 GB, free: 49.75 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.006087/1.94, allocations: 2.717 MB / 0.9856 GB, free: 47.91 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/1.942, allocations: 0.581 MB / 0.9862 GB, free: 47.38 MB / 474.8 MB Notification: Performance of SimCode: time 4.458e-06/1.942, allocations: 0 / 0.9862 GB, free: 47.38 MB / 474.8 MB Notification: Performance of Templates: time 0.3039/2.245, allocations: 128 MB / 1.111 GB, free: 106.1 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.952545379754156]