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.0008066/0.0008066, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001941, 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 1.008/1.008, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1819/1.19, allocations: 53.65 MB / 241.9 MB, free: 2.723 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.000849/0.000849, allocations: 145 kB / 242.8 MB, free: 1.863 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.002015, allocations: 477.5 kB / 243.2 MB, free: 1.414 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.02418/0.02418, allocations: 6.654 MB / 250.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005192/0.02937, allocations: 2.662 MB / 253.3 MB, free: 7.551 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.573e-06/1.573e-06, allocations: 0 / 254.6 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.794e-05, allocations: 6.25 kB / 254.6 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.03839/0.03842, allocations: 47.4 MB / 302 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0317/0.07011, allocations: 13.85 MB / 315.9 MB, free: 8.707 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01104/0.08115, allocations: 461.6 kB / 316.3 MB, free: 8.254 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1774/0.2586, allocations: 14.68 MB / 331 MB, free: 5.461 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01809/0.2767, allocations: 5.702 MB / 336.7 MB, free: 4.891 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008503/0.2852, allocations: 3.361 MB / 340.1 MB, free: 4.836 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.03205/0.3172, allocations: 25.55 MB / 365.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05509/0.3723, allocations: 30.02 MB / 395.7 MB, free: 260 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04182/0.4142, allocations: 20.1 MB / 415.7 MB, free: 12.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02475/0.4389, allocations: 13.81 MB / 429.6 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01289/0.4518, allocations: 3.617 MB / 433.2 MB, free: 12.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01646/0.4683, allocations: 4.153 MB / 437.3 MB, free: 8.188 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01144/0.4797, allocations: 6.057 MB / 443.4 MB, free: 2.148 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02894/0.5086, allocations: 7.863 MB / 451.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03718/0.5458, allocations: 21.76 MB / 473 MB, free: 5.344 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.795e-05/0.5458, allocations: 0 / 473 MB, free: 5.344 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.5458, allocations: 0 / 473 MB, free: 5.344 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001587/0.5474, allocations: 0 / 473 MB, free: 5.344 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.3692/0.9166, allocations: 31.28 MB / 0.4925 GB, free: 91.83 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.9167, allocations: 9.625 kB / 0.4925 GB, free: 91.83 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04394/0.9606, allocations: 13.59 MB / 0.5057 GB, free: 89.96 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0219/0.9825, allocations: 7.816 MB / 0.5134 GB, free: 83.57 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001187/0.9837, allocations: 1.576 MB / 0.5149 GB, free: 82.01 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007325/0.991, allocations: 2.086 MB / 0.517 GB, free: 79.95 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05449/1.046, allocations: 17.45 MB / 0.534 GB, free: 63.18 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008069/1.046, allocations: 26.38 kB / 0.534 GB, free: 63.16 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005496/1.052, allocations: 0.8604 MB / 0.5349 GB, free: 62.32 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007175/1.053, allocations: 1.149 MB / 0.536 GB, free: 61.17 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02786/1.08, allocations: 8.52 MB / 0.5443 GB, free: 52.65 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1074/1.188, allocations: 63.62 MB / 0.6064 GB, free: 7.445 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/1.204, allocations: 11.97 MB / 0.6181 GB, free: 11.7 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005599/1.209, allocations: 3.332 MB / 0.6214 GB, free: 8.434 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3049/1.514, allocations: 10.16 MB / 0.6313 GB, free: 98.32 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/1.514, allocations: 131.5 kB / 0.6314 GB, free: 98.27 MB / 458.9 MB Notification: Performance of pre-optimization done (n=894): time 1.004e-05/1.514, allocations: 0 / 0.6314 GB, free: 98.27 MB / 458.9 MB Notification: Performance of matching and sorting (n=906): time 0.02058/1.535, allocations: 13.47 MB / 0.6446 GB, free: 97.29 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/1.535, allocations: 171.6 kB / 0.6447 GB, free: 97.18 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/1.539, allocations: 5.055 MB / 0.6497 GB, free: 96.81 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0004984/1.54, allocations: 176.2 kB / 0.6499 GB, free: 96.78 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.002389/1.542, allocations: 8.014 MB / 0.6577 GB, free: 92.5 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001287/1.543, allocations: 3.171 MB / 0.6608 GB, free: 90.42 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001875/1.545, allocations: 2.049 MB / 0.6628 GB, free: 90.27 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 2.311e-05/1.545, allocations: 301.1 kB / 0.6631 GB, free: 89.97 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/1.547, allocations: 1.619 MB / 0.6646 GB, free: 89.93 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/1.55, allocations: 5.021 MB / 0.6695 GB, free: 85.56 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00523/1.555, allocations: 7.88 MB / 0.6772 GB, free: 81.05 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.01e-05/1.555, allocations: 35.31 kB / 0.6773 GB, free: 81.05 MB / 458.9 MB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.00998/1.565, allocations: 8.21 MB / 0.6853 GB, free: 80.54 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 7.588e-05/1.565, allocations: 51.91 kB / 0.6853 GB, free: 80.54 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/1.565, allocations: 117.2 kB / 0.6855 GB, free: 80.54 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.00143/1.566, allocations: 0.7388 MB / 0.6862 GB, free: 80.45 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005962/1.572, allocations: 2.558 MB / 0.6887 GB, free: 80.45 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/1.577, allocations: 8.721 MB / 0.6972 GB, free: 74.04 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006562/1.583, allocations: 384.8 kB / 0.6976 GB, free: 74.02 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001959/1.585, allocations: 421.8 kB / 0.698 GB, free: 74.02 MB / 458.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.00607/1.591, allocations: 0.8449 MB / 0.6988 GB, free: 73.82 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001766/1.593, allocations: 0.8033 MB / 0.6996 GB, free: 73.63 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009139/1.602, allocations: 6.75 MB / 0.7062 GB, free: 69.65 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/1.602, allocations: 92 kB / 0.7063 GB, free: 69.56 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.673e-05/1.602, allocations: 44 kB / 0.7063 GB, free: 69.52 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.535e-05/1.602, allocations: 43.5 kB / 0.7063 GB, free: 69.52 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03159/1.634, allocations: 16.9 MB / 0.7228 GB, free: 56.76 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.634, allocations: 8 kB / 0.7229 GB, free: 56.75 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004816/1.639, allocations: 1.925 MB / 0.7247 GB, free: 54.89 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003662/1.642, allocations: 1.151 MB / 0.7259 GB, free: 53.74 MB / 458.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.001535/1.644, allocations: 0.7557 MB / 0.7266 GB, free: 52.99 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008/1.645, allocations: 195.9 kB / 0.7268 GB, free: 52.8 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005125/1.65, allocations: 12.1 MB / 0.7386 GB, free: 40.29 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/1.65, allocations: 13.75 kB / 0.7386 GB, free: 40.28 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/1.663, allocations: 8.217 MB / 0.7466 GB, free: 32.25 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001654/1.664, allocations: 176 kB / 0.7468 GB, free: 32.08 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003114/1.667, allocations: 271.9 kB / 0.7471 GB, free: 31.82 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/1.669, allocations: 0.7994 MB / 0.7478 GB, free: 31.02 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003941/1.669, allocations: 183.9 kB / 0.748 GB, free: 30.84 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.002664/1.672, allocations: 2.471 MB / 0.7504 GB, free: 28.7 MB / 458.9 MB Notification: Performance of sort global known variables: time 3.01e-07/1.672, allocations: 0 / 0.7504 GB, free: 28.7 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.009662/1.681, allocations: 3.461 MB / 0.7538 GB, free: 25.23 MB / 458.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.001637/1.683, allocations: 472.7 kB / 0.7543 GB, free: 24.86 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.009355/1.692, allocations: 6.74 MB / 0.7608 GB, free: 18.57 MB / 458.9 MB Notification: Performance of simCode: created event and clocks part: time 0.0005315/1.693, allocations: 222.2 kB / 0.7611 GB, free: 18.32 MB / 458.9 MB Notification: Performance of simCode: created simulation system equations: time 0.006536/1.699, allocations: 4.185 MB / 0.7651 GB, free: 14.3 MB / 458.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/1.709, allocations: 2.951 MB / 0.768 GB, free: 11.44 MB / 458.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1294/1.839, allocations: 32.26 MB / 0.7995 GB, free: 11.09 MB / 490.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01063/1.849, allocations: 4.186 MB / 0.8036 GB, free: 6.875 MB / 490.9 MB Notification: Performance of simCode: alias equations: time 0.005452/1.855, allocations: 1.335 MB / 0.8049 GB, free: 5.535 MB / 490.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004766/1.86, allocations: 1.967 MB / 0.8068 GB, free: 3.535 MB / 490.9 MB Notification: Performance of SimCode: time 1.994e-06/1.86, allocations: 1.094 kB / 0.8068 GB, free: 3.535 MB / 490.9 MB Notification: Performance of Templates: time 0.3225/2.182, allocations: 148 MB / 0.9514 GB, free: 16.92 MB / 490.9 MB " [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 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.677970983088017]