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.0006645/0.0006645, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009368/0.001601, allocations: 440 kB / 10.41 MB, free: 284 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 1.025/1.025, allocations: 177.2 MB / 188.4 MB, free: 4.391 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2189/1.244, allocations: 53.66 MB / 242 MB, free: 2.594 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.001458/0.001458, allocations: 151.6 kB / 242.9 MB, free: 1.715 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005164/0.006622, allocations: 480.4 kB / 243.4 MB, free: 1.262 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.04317/0.04317, allocations: 6.658 MB / 250.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009692/0.05286, allocations: 2.668 MB / 253.5 MB, free: 7.391 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 2.074e-06/2.074e-06, allocations: 3.938 kB / 254.8 MB, free: 6.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.872e-05/4.08e-05, allocations: 8.844 kB / 254.8 MB, free: 6.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.04367/0.04371, allocations: 47.39 MB / 302.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04013/0.08385, allocations: 13.86 MB / 316.1 MB, free: 8.508 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01706/0.1009, allocations: 457.6 kB / 316.5 MB, free: 8.059 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2379/0.3388, allocations: 14.68 MB / 331.2 MB, free: 5.586 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02346/0.3623, allocations: 5.697 MB / 336.9 MB, free: 5.004 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01153/0.3738, allocations: 3.362 MB / 340.3 MB, free: 4.941 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.03513/0.4089, allocations: 25.55 MB / 365.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07421/0.4831, allocations: 30.02 MB / 395.9 MB, free: 144 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05602/0.5392, allocations: 20.1 MB / 415.9 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02959/0.5687, allocations: 13.81 MB / 429.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01269/0.5814, allocations: 3.621 MB / 433.4 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01936/0.6008, allocations: 4.151 MB / 437.5 MB, free: 8.066 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01677/0.6176, allocations: 6.06 MB / 443.6 MB, free: 2.027 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.03748/0.655, allocations: 7.863 MB / 451.5 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05534/0.7104, allocations: 21.71 MB / 473.2 MB, free: 5.281 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.268e-05/0.7104, allocations: 0 / 473.2 MB, free: 5.281 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7104, allocations: 7.188 kB / 473.2 MB, free: 5.277 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001762/0.7122, allocations: 4 kB / 473.2 MB, free: 5.273 MB / 426.7 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.4841/1.196, allocations: 31.26 MB / 0.4926 GB, free: 91.84 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.01e-05/1.196, allocations: 10.22 kB / 0.4926 GB, free: 91.84 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05562/1.252, allocations: 13.58 MB / 0.5059 GB, free: 90.07 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02899/1.281, allocations: 7.817 MB / 0.5135 GB, free: 83.57 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001951/1.283, allocations: 1.573 MB / 0.515 GB, free: 82.02 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01084/1.294, allocations: 2.085 MB / 0.5171 GB, free: 79.96 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07908/1.373, allocations: 17.45 MB / 0.5341 GB, free: 63.19 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001181/1.374, allocations: 27.28 kB / 0.5341 GB, free: 63.17 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007793/1.382, allocations: 0.864 MB / 0.535 GB, free: 62.33 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000944/1.383, allocations: 1.114 MB / 0.5361 GB, free: 61.21 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03987/1.423, allocations: 8.513 MB / 0.5444 GB, free: 52.69 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1497/1.572, allocations: 63.63 MB / 0.6065 GB, free: 7.496 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02008/1.592, allocations: 11.97 MB / 0.6182 GB, free: 11.75 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009538/1.602, allocations: 3.329 MB / 0.6215 GB, free: 8.488 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/1.603, allocations: 339.9 kB / 0.6218 GB, free: 8.156 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/1.603, allocations: 155.4 kB / 0.6219 GB, free: 7.992 MB / 458.8 MB Notification: Performance of pre-optimization done (n=1129): time 1.55e-05/1.604, allocations: 0 / 0.6219 GB, free: 7.992 MB / 458.8 MB Notification: Performance of matching and sorting (n=1141): time 0.3255/1.929, allocations: 18.19 MB / 0.6397 GB, free: 104.8 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.929, allocations: 200.9 kB / 0.6399 GB, free: 104.7 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009269/1.938, allocations: 5.013 MB / 0.6448 GB, free: 104.2 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003511/1.942, allocations: 211.5 kB / 0.645 GB, free: 104.2 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005527/1.947, allocations: 7.689 MB / 0.6525 GB, free: 99.63 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005512/1.953, allocations: 3.966 MB / 0.6564 GB, free: 97.02 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00857/1.961, allocations: 2.288 MB / 0.6586 GB, free: 96.86 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 5.492e-05/1.962, allocations: 303.8 kB / 0.6589 GB, free: 96.56 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00479/1.966, allocations: 1.812 MB / 0.6607 GB, free: 96.51 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00622/1.973, allocations: 5.24 MB / 0.6658 GB, free: 92.17 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/1.987, allocations: 8.772 MB / 0.6744 GB, free: 87.71 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001958/1.987, allocations: 32.31 kB / 0.6744 GB, free: 87.71 MB / 458.8 MB Notification: Performance of matching and sorting (n=1706) (initialization): time 0.01991/2.007, allocations: 8.846 MB / 0.683 GB, free: 87.15 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/2.007, allocations: 52.03 kB / 0.6831 GB, free: 87.15 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002059/2.007, allocations: 115 kB / 0.6832 GB, free: 87.15 MB / 458.8 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.002233/2.009, allocations: 0.7496 MB / 0.6839 GB, free: 87.07 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008933/2.018, allocations: 3.449 MB / 0.6873 GB, free: 87.04 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004826/2.023, allocations: 8.756 MB / 0.6958 GB, free: 80.63 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006527/2.03, allocations: 411.9 kB / 0.6962 GB, free: 80.62 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008317/2.03, allocations: 450.8 kB / 0.6967 GB, free: 80.62 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 523 * 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 (1452): * Single equations (assignments): 1445 * 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.005994/2.036, allocations: 0.9401 MB / 0.6976 GB, free: 80.29 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001921/2.038, allocations: 0.9252 MB / 0.6985 GB, free: 79.72 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/2.049, allocations: 7.521 MB / 0.7058 GB, free: 75.26 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.623e-05/2.049, allocations: 112 kB / 0.7059 GB, free: 75.15 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.991e-05/2.049, allocations: 40 kB / 0.706 GB, free: 75.11 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.11e-05/2.049, allocations: 63.64 kB / 0.706 GB, free: 75.1 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02977/2.079, allocations: 19.76 MB / 0.7253 GB, free: 59.66 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/2.079, allocations: 11.94 kB / 0.7253 GB, free: 59.65 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004595/2.083, allocations: 2.332 MB / 0.7276 GB, free: 57.41 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003886/2.087, allocations: 1.268 MB / 0.7288 GB, free: 56.14 MB / 458.8 MB Notification: Tearing is skipped for strong component 8 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.001544/2.089, allocations: 0.7681 MB / 0.7296 GB, free: 55.37 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004074/2.089, allocations: 235.9 kB / 0.7298 GB, free: 55.14 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005786/2.095, allocations: 12.1 MB / 0.7416 GB, free: 42.62 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/2.095, allocations: 11.66 kB / 0.7416 GB, free: 42.61 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/2.107, allocations: 9.567 MB / 0.751 GB, free: 33.11 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001719/2.108, allocations: 223.9 kB / 0.7512 GB, free: 32.89 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/2.111, allocations: 299.9 kB / 0.7515 GB, free: 32.59 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/2.113, allocations: 0.9285 MB / 0.7524 GB, free: 31.67 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004717/2.113, allocations: 235.9 kB / 0.7526 GB, free: 31.44 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003387/2.117, allocations: 2.445 MB / 0.755 GB, free: 29.31 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.4e-07/2.117, allocations: 0 / 0.755 GB, free: 29.31 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01198/2.129, allocations: 3.68 MB / 0.7586 GB, free: 25.63 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 12 (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,imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (938): * Single equations (assignments): 930 * 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,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/2.13, allocations: 0.5408 MB / 0.7591 GB, free: 25.21 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01078/2.141, allocations: 7.612 MB / 0.7666 GB, free: 18.07 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003597/2.141, allocations: 242.2 kB / 0.7668 GB, free: 17.79 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005464/2.146, allocations: 5.267 MB / 0.7719 GB, free: 12.66 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02553/2.172, allocations: 19.87 MB / 0.7913 GB, free: 5.191 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3757/2.548, allocations: 32.9 MB / 0.8235 GB, free: 105 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004555/2.552, allocations: 4.279 MB / 0.8276 GB, free: 104.4 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.005114/2.557, allocations: 1.488 MB / 0.8291 GB, free: 104.3 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004198/2.561, allocations: 2.163 MB / 0.8312 GB, free: 104.2 MB / 474.8 MB Notification: Performance of SimCode: time 2.896e-06/2.561, allocations: 0 / 0.8312 GB, free: 104.2 MB / 474.8 MB Notification: Performance of Templates: time 0.3923/2.954, allocations: 163.8 MB / 0.9912 GB, free: 121.3 MB / 490.8 MB " [Timeout remaining time 657] 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 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.266118525527418]