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.001848/0.001848, allocations: 85.48 kB / 19.44 MB, free: 344 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 1.65/1.65, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 MB " [Timeout remaining time 178] 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.002493/0.002493, allocations: 160.6 kB / 256.3 MB, free: 13.16 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.04117/0.04117, allocations: 6.654 MB / 319.4 MB, free: 26.57 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) 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.974e-06/1.974e-06, allocations: 3.938 kB / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.043e-05/4.24e-05, allocations: 2.312 kB / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.243/0.243, allocations: 48.11 MB / 443 MB, free: 56.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03232/0.2754, allocations: 13.09 MB / 456.1 MB, free: 43.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01655/0.2919, allocations: 457.6 kB / 456.6 MB, free: 43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03016/0.3221, allocations: 14.63 MB / 471.2 MB, free: 28.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02478/0.3468, allocations: 5.711 MB / 476.9 MB, free: 22.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01287/0.3597, allocations: 3.387 MB / 480.3 MB, free: 19.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.03645/0.3962, allocations: 25.36 MB / 0.4938 GB, free: 9.781 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07345/0.4696, allocations: 30.11 MB / 0.5232 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05562/0.5252, allocations: 19.25 MB / 0.542 GB, free: 8.227 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4152/0.9405, allocations: 13.43 MB / 0.5551 GB, free: 43.06 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01393/0.9544, allocations: 3.622 MB / 0.5587 GB, free: 43.06 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01886/0.9733, allocations: 4.133 MB / 0.5627 GB, free: 43.06 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01627/0.9895, allocations: 7.586 MB / 0.5701 GB, free: 43.06 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.03776/1.027, allocations: 9.42 MB / 0.5793 GB, free: 43.06 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.07575/1.103, allocations: 49.75 MB / 0.6279 GB, free: 15.62 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.103, allocations: 0 / 0.6279 GB, free: 15.62 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.083e-06/1.103, allocations: 0 / 0.6279 GB, free: 15.62 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.001937/1.105, allocations: 0 / 0.6279 GB, free: 15.62 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.118/1.223, allocations: 32.2 MB / 0.6593 GB, free: 2.938 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/1.223, allocations: 8.031 kB / 0.6594 GB, free: 2.93 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09559/1.319, allocations: 17.21 MB / 0.6762 GB, free: 1.863 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04958/1.368, allocations: 14.5 MB / 0.6903 GB, free: 4.016 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003109/1.371, allocations: 1.583 MB / 0.6919 GB, free: 2.453 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01245/1.384, allocations: 2.079 MB / 0.6939 GB, free: 404 kB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3439/1.728, allocations: 36.11 MB / 0.7292 GB, free: 124.2 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001368/1.729, allocations: 25.66 kB / 0.7292 GB, free: 124.2 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009845/1.739, allocations: 0.8601 MB / 0.73 GB, free: 123.5 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001802/1.741, allocations: 1.155 MB / 0.7312 GB, free: 123.4 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07261/1.813, allocations: 28.86 MB / 0.7593 GB, free: 112.6 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4921/2.305, allocations: 217.5 MB / 0.9717 GB, free: 76.57 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03497/2.34, allocations: 21.48 MB / 0.9927 GB, free: 64.62 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0142/2.355, allocations: 8.044 MB / 1.001 GB, free: 57.71 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05149/2.406, allocations: 21.34 MB / 1.021 GB, free: 37.81 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/2.406, allocations: 132.7 kB / 1.022 GB, free: 37.66 MB / 474.8 MB Notification: Performance of pre-optimization done (n=894): time 1.618e-05/2.406, allocations: 4 kB / 1.022 GB, free: 37.66 MB / 474.8 MB Notification: Performance of matching and sorting (n=906): time 0.08178/2.488, allocations: 34.65 MB / 1.055 GB, free: 2.816 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/2.488, allocations: 168.5 kB / 1.056 GB, free: 2.629 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0251/2.513, allocations: 10.81 MB / 1.066 GB, free: 7.84 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002102/2.515, allocations: 177.7 kB / 1.066 GB, free: 7.66 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2243/2.74, allocations: 10.01 MB / 1.076 GB, free: 124 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00525/2.745, allocations: 3.539 MB / 1.079 GB, free: 121.9 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01112/2.756, allocations: 2.982 MB / 1.082 GB, free: 121.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001595/2.756, allocations: 481.1 kB / 1.083 GB, free: 121.3 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01085/2.767, allocations: 5.146 MB / 1.088 GB, free: 121.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01456/2.782, allocations: 11.2 MB / 1.099 GB, free: 114.8 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02542/2.807, allocations: 18.63 MB / 1.117 GB, free: 108 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002228/2.807, allocations: 31.56 kB / 1.117 GB, free: 108 MB / 490.8 MB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.03958/2.847, allocations: 18.64 MB / 1.135 GB, free: 101.6 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003429/2.847, allocations: 53.84 kB / 1.135 GB, free: 101.6 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004339/2.847, allocations: 117.4 kB / 1.135 GB, free: 101.6 MB / 490.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.00375/2.851, allocations: 0.9653 MB / 1.136 GB, free: 101.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01116/2.862, allocations: 2.421 MB / 1.139 GB, free: 101.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/2.873, allocations: 13.82 MB / 1.152 GB, free: 89.51 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009819/2.883, allocations: 0.5948 MB / 1.153 GB, free: 89.31 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002392/2.885, allocations: 0.5221 MB / 1.153 GB, free: 89.22 MB / 490.8 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.01427/2.899, allocations: 7.157 MB / 1.16 GB, free: 85.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004633/2.904, allocations: 1.174 MB / 1.161 GB, free: 84.9 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03379/2.938, allocations: 14.67 MB / 1.176 GB, free: 77.45 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.57e-05/2.938, allocations: 93.09 kB / 1.176 GB, free: 77.36 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001111/2.938, allocations: 40 kB / 1.176 GB, free: 77.32 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001917/2.938, allocations: 47.77 kB / 1.176 GB, free: 77.27 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07369/3.012, allocations: 37.39 MB / 1.212 GB, free: 39.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-05/3.012, allocations: 8 kB / 1.212 GB, free: 39.81 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006642/3.019, allocations: 1.44 MB / 1.214 GB, free: 38.37 MB / 490.8 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.00366/3.022, allocations: 1.056 MB / 1.215 GB, free: 37.29 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001541/3.024, allocations: 215.9 kB / 1.215 GB, free: 37.08 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/3.036, allocations: 19.36 MB / 1.234 GB, free: 16.93 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/3.036, allocations: 7.938 kB / 1.234 GB, free: 16.92 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2264/3.262, allocations: 21.47 MB / 1.255 GB, free: 101.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007334/3.27, allocations: 1.987 MB / 1.257 GB, free: 101.9 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003032/3.273, allocations: 177.7 kB / 1.257 GB, free: 101.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007099/3.28, allocations: 487.4 kB / 1.258 GB, free: 101.9 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003079/3.283, allocations: 0.861 MB / 1.258 GB, free: 101.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001554/3.285, allocations: 269.7 kB / 1.259 GB, free: 101.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01128/3.296, allocations: 5.656 MB / 1.264 GB, free: 101.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.4e-07/3.296, allocations: 1.125 kB / 1.264 GB, free: 101.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01468/3.311, allocations: 3.463 MB / 1.268 GB, free: 101.7 MB / 490.8 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.002456/3.313, allocations: 475.1 kB / 1.268 GB, free: 101.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02516/3.338, allocations: 15.04 MB / 1.283 GB, free: 99.99 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.795e-05/3.338, allocations: 4.938 kB / 1.283 GB, free: 99.99 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01391/3.352, allocations: 8.194 MB / 1.291 GB, free: 98.43 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01544/3.367, allocations: 2.249 MB / 1.293 GB, free: 98.25 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0685/3.436, allocations: 36.1 MB / 1.328 GB, free: 83.14 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02629/3.462, allocations: 11.73 MB / 1.34 GB, free: 74.73 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.01291/3.475, allocations: 3.284 MB / 1.343 GB, free: 71.43 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003988/3.479, allocations: 0.6761 MB / 1.343 GB, free: 70.76 MB / 490.8 MB Notification: Performance of SimCode: time 1.873e-06/3.479, allocations: 4 kB / 1.343 GB, free: 70.75 MB / 490.8 MB Notification: Performance of Templates: time 0.4099/3.889, allocations: 129.2 MB / 1.47 GB, free: 103.9 MB / 0.4949 GB " [Timeout remaining time 656] 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: 14.542338690022007]