Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.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.0009178/0.0009178, allocations: 80.75 kB / 19.94 MB, free: 4.547 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 0.9473/0.9473, allocations: 177.2 MB / 200.3 MB, free: 5.695 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.001145/0.001145, allocations: 160.1 kB / 257 MB, free: 12.97 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.02859/0.02859, allocations: 6.655 MB / 266.9 MB, free: 3.223 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) Ignoring simflag -noemit -jacobian= since the simulation runtime does not accept it Running command: translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 289.8 MB, free: 21.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.908e-06/1.113e-05, allocations: 3.969 kB / 289.8 MB, free: 21.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.03186/0.03188, allocations: 47.07 MB / 336.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02869/0.06056, allocations: 13.76 MB / 350.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01018/0.07074, allocations: 465.6 kB / 351.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01958/0.09032, allocations: 14.65 MB / 365.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01707/0.1074, allocations: 5.705 MB / 371.4 MB, free: 8.684 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008591/0.116, allocations: 3.369 MB / 374.8 MB, free: 5.336 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02588/0.1419, allocations: 25.41 MB / 400.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3204/0.4622, allocations: 30.87 MB / 431.1 MB, free: 19.81 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02857/0.4908, allocations: 19.36 MB / 450.5 MB, free: 19.79 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02015/0.511, allocations: 13.83 MB / 464.3 MB, free: 19.79 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008751/0.5197, allocations: 3.616 MB / 467.9 MB, free: 19.79 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.5299, allocations: 4.144 MB / 472.1 MB, free: 19.79 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008104/0.538, allocations: 7.578 MB / 479.6 MB, free: 19.2 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0121/0.5501, allocations: 9.414 MB / 489 MB, free: 15.5 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02387/0.574, allocations: 22.98 MB / 0.5 GB, free: 12.83 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.574, allocations: 0 / 0.5 GB, free: 12.83 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.262e-06/0.574, allocations: 0 / 0.5 GB, free: 12.83 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.0008955/0.5749, allocations: 0 / 0.5 GB, free: 12.83 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: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.05024/0.6251, allocations: 26.83 MB / 0.5262 GB, free: 3.387 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.6252, allocations: 12.03 kB / 0.5262 GB, free: 3.375 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04115/0.6663, allocations: 13.59 MB / 0.5395 GB, free: 6.266 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01896/0.6853, allocations: 7.818 MB / 0.5471 GB, free: 14.98 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/0.6863, allocations: 1.572 MB / 0.5487 GB, free: 13.43 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004378/0.6907, allocations: 2.087 MB / 0.5507 GB, free: 11.36 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03009/0.7208, allocations: 17.45 MB / 0.5678 GB, free: 10.59 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003904/0.7212, allocations: 32.91 kB / 0.5678 GB, free: 10.57 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001914/0.7231, allocations: 0.8522 MB / 0.5686 GB, free: 9.738 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007716/0.7239, allocations: 1.153 MB / 0.5697 GB, free: 8.582 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01573/0.7396, allocations: 8.515 MB / 0.5781 GB, free: 60 kB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3423/1.082, allocations: 63.28 MB / 0.6399 GB, free: 69.25 MB / 458.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009923/1.092, allocations: 11.98 MB / 0.6516 GB, free: 65.41 MB / 458.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003222/1.095, allocations: 3.325 MB / 0.6548 GB, free: 64.84 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0154/1.11, allocations: 10.15 MB / 0.6647 GB, free: 56.63 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.285e-05/1.11, allocations: 133.9 kB / 0.6648 GB, free: 56.49 MB / 458.9 MB Notification: Performance of pre-optimization done (n=894): time 9.137e-06/1.111, allocations: 0 / 0.6648 GB, free: 56.49 MB / 458.9 MB Notification: Performance of matching and sorting (n=906): time 0.01992/1.13, allocations: 13.47 MB / 0.678 GB, free: 45.86 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/1.13, allocations: 168.5 kB / 0.6782 GB, free: 45.67 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/1.134, allocations: 5.063 MB / 0.6831 GB, free: 42.51 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0003834/1.135, allocations: 173.7 kB / 0.6833 GB, free: 42.34 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.001874/1.137, allocations: 8.008 MB / 0.6911 GB, free: 35.05 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/1.138, allocations: 3.172 MB / 0.6942 GB, free: 32.06 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001853/1.14, allocations: 2.046 MB / 0.6962 GB, free: 30.24 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 2.571e-05/1.14, allocations: 301.1 kB / 0.6965 GB, free: 29.95 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/1.142, allocations: 1.62 MB / 0.6981 GB, free: 28.32 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002562/1.144, allocations: 5.012 MB / 0.7029 GB, free: 21.99 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005609/1.15, allocations: 7.889 MB / 0.7107 GB, free: 13.18 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.904e-05/1.15, allocations: 32 kB / 0.7107 GB, free: 13.15 MB / 458.9 MB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.009756/1.16, allocations: 8.219 MB / 0.7187 GB, free: 5.777 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/1.16, allocations: 52.19 kB / 0.7188 GB, free: 5.727 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-05/1.16, allocations: 120 kB / 0.7189 GB, free: 5.609 MB / 458.9 MB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/1.161, allocations: 0.7272 MB / 0.7196 GB, free: 4.875 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004386/1.165, allocations: 2.36 MB / 0.7219 GB, free: 2.676 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005058/1.17, allocations: 8.737 MB / 0.7304 GB, free: 9.699 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003723/1.174, allocations: 387.8 kB / 0.7308 GB, free: 9.32 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005479/1.175, allocations: 419.9 kB / 0.7312 GB, free: 8.91 MB / 474.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 531 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStep2QS[3].y,booleanStep2QS[2].y,booleanStep2QS[1].y,booleanStep1QS[3].y,booleanStep1QS[2].y,booleanStep1QS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (204,1.3%)} * 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): 5 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003736/1.178, allocations: 0.8432 MB / 0.732 GB, free: 8.219 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/1.18, allocations: 0.8039 MB / 0.7328 GB, free: 7.414 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009579/1.189, allocations: 6.744 MB / 0.7394 GB, free: 0.7812 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.11e-05/1.189, allocations: 92 kB / 0.7395 GB, free: 0.6914 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.664e-05/1.189, allocations: 40 kB / 0.7395 GB, free: 0.6523 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-05/1.189, allocations: 51.81 kB / 0.7396 GB, free: 0.6016 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02322/1.213, allocations: 16.89 MB / 0.7561 GB, free: 2.012 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.213, allocations: 4.094 kB / 0.7561 GB, free: 2.008 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003864/1.217, allocations: 1.808 MB / 0.7578 GB, free: 272 kB / 490.9 MB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.1486/1.365, allocations: 0.7434 MB / 0.7586 GB, free: 104.8 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001461/1.367, allocations: 195.1 kB / 0.7587 GB, free: 104.8 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006083/1.373, allocations: 12.09 MB / 0.7705 GB, free: 95.74 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.373, allocations: 13.09 kB / 0.7706 GB, free: 95.74 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/1.385, allocations: 8.236 MB / 0.7786 GB, free: 94.47 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002376/1.387, allocations: 1.141 MB / 0.7797 GB, free: 94.47 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000818/1.388, allocations: 180.3 kB / 0.7799 GB, free: 94.47 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/1.39, allocations: 267.4 kB / 0.7801 GB, free: 94.47 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001063/1.391, allocations: 0.796 MB / 0.7809 GB, free: 94.46 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000383/1.392, allocations: 188.3 kB / 0.7811 GB, free: 94.46 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.002423/1.394, allocations: 2.467 MB / 0.7835 GB, free: 94.28 MB / 490.9 MB Notification: Performance of sort global known variables: time 8e-08/1.394, allocations: 0 / 0.7835 GB, free: 94.28 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.006494/1.4, allocations: 3.462 MB / 0.7869 GB, free: 94.28 MB / 490.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (703): * Single equations (assignments): 695 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(204,1.3%)} * 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): 7 systems {(1,1,100.0%), (1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009041/1.401, allocations: 463 kB / 0.7873 GB, free: 94.21 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.007219/1.409, allocations: 6.732 MB / 0.7939 GB, free: 93.27 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 0.0001895/1.409, allocations: 131.8 kB / 0.794 GB, free: 93.25 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.004162/1.413, allocations: 4.168 MB / 0.7981 GB, free: 92.24 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005059/1.418, allocations: 2.242 MB / 0.8003 GB, free: 92.06 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03536/1.453, allocations: 30.91 MB / 0.8305 GB, free: 76.94 MB / 490.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003622/1.457, allocations: 4.15 MB / 0.8345 GB, free: 74.18 MB / 490.9 MB Notification: Performance of simCode: alias equations: time 0.004207/1.461, allocations: 1.336 MB / 0.8358 GB, free: 73.13 MB / 490.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00349/1.465, allocations: 1.969 MB / 0.8377 GB, free: 71.5 MB / 490.9 MB Notification: Performance of SimCode: time 1.502e-06/1.465, allocations: 0 / 0.8377 GB, free: 71.5 MB / 490.9 MB Notification: Performance of Templates: time 0.3032/1.768, allocations: 141.3 MB / 0.9757 GB, free: 140.5 MB / 0.5106 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Transformer -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.134935028851032]