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.0008515/0.0008515, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.8868/0.8868, allocations: 177.2 MB / 200.3 MB, free: 5.371 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.001176/0.001176, allocations: 159.7 kB / 257 MB, free: 12.82 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.02449/0.02449, allocations: 6.659 MB / 266.9 MB, free: 3.07 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.884e-06/1.884e-06, allocations: 0.6562 kB / 289.8 MB, free: 20.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022e-05/1.21e-05, allocations: 6.312 kB / 289.8 MB, free: 20.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.03013/0.03014, allocations: 47.02 MB / 336.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02692/0.05707, allocations: 13.76 MB / 350.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01011/0.06718, allocations: 457.6 kB / 351 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01801/0.08519, allocations: 14.76 MB / 365.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02325/0.1084, allocations: 5.748 MB / 371.5 MB, free: 8.375 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01169/0.1201, allocations: 3.375 MB / 374.9 MB, free: 5.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02604/0.1462, allocations: 25.41 MB / 400.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3269/0.4731, allocations: 30.9 MB / 431.2 MB, free: 18.82 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02939/0.5025, allocations: 19.36 MB / 450.6 MB, free: 18.81 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02042/0.5229, allocations: 13.83 MB / 464.4 MB, free: 18.81 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00723/0.5302, allocations: 3.619 MB / 468 MB, free: 18.81 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007002/0.5372, allocations: 4.118 MB / 472.1 MB, free: 18.81 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004782/0.5419, allocations: 7.573 MB / 479.7 MB, free: 18.39 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01197/0.5539, allocations: 9.413 MB / 489.1 MB, free: 14.69 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02149/0.5754, allocations: 22.98 MB / 0.5001 GB, free: 11.89 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.5754, allocations: 0 / 0.5001 GB, free: 11.89 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5754, allocations: 0 / 0.5001 GB, free: 11.89 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.0007812/0.5762, allocations: 4 kB / 0.5001 GB, free: 11.89 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.04133/0.6175, allocations: 26.83 MB / 0.5263 GB, free: 2.445 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.6176, allocations: 12.02 kB / 0.5263 GB, free: 2.434 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03477/0.6523, allocations: 13.59 MB / 0.5396 GB, free: 5.328 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01555/0.6679, allocations: 7.818 MB / 0.5472 GB, free: 14.04 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008101/0.6687, allocations: 1.575 MB / 0.5488 GB, free: 12.48 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003029/0.6717, allocations: 2.09 MB / 0.5508 GB, free: 10.42 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/0.6944, allocations: 17.44 MB / 0.5678 GB, free: 9.656 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002958/0.6947, allocations: 23.72 kB / 0.5678 GB, free: 9.637 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001474/0.6961, allocations: 0.8628 MB / 0.5687 GB, free: 8.797 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007034/0.6968, allocations: 1.15 MB / 0.5698 GB, free: 7.645 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/0.7101, allocations: 8.521 MB / 0.5781 GB, free: 15.12 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3827/1.093, allocations: 63.28 MB / 0.6399 GB, free: 81.76 MB / 474.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/1.103, allocations: 11.97 MB / 0.6516 GB, free: 80.3 MB / 474.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003338/1.107, allocations: 3.323 MB / 0.6549 GB, free: 80.08 MB / 474.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01542/1.122, allocations: 10.15 MB / 0.6648 GB, free: 78.71 MB / 474.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.092e-05/1.122, allocations: 131.5 kB / 0.6649 GB, free: 78.63 MB / 474.9 MB Notification: Performance of pre-optimization done (n=894): time 9.658e-06/1.122, allocations: 8 kB / 0.6649 GB, free: 78.62 MB / 474.9 MB Notification: Performance of matching and sorting (n=906): time 0.01987/1.142, allocations: 13.46 MB / 0.6781 GB, free: 68.82 MB / 474.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/1.142, allocations: 172.5 kB / 0.6782 GB, free: 68.64 MB / 474.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003794/1.146, allocations: 5.059 MB / 0.6832 GB, free: 65.78 MB / 474.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0003951/1.146, allocations: 174.1 kB / 0.6833 GB, free: 65.72 MB / 474.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.002301/1.149, allocations: 8.013 MB / 0.6912 GB, free: 60.91 MB / 474.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001201/1.15, allocations: 3.169 MB / 0.6942 GB, free: 58.47 MB / 474.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001967/1.152, allocations: 2.047 MB / 0.6962 GB, free: 57.56 MB / 474.9 MB Notification: Performance of setup shared object (initialization): time 3.579e-05/1.152, allocations: 304.8 kB / 0.6965 GB, free: 57.27 MB / 474.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/1.154, allocations: 1.62 MB / 0.6981 GB, free: 55.99 MB / 474.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/1.157, allocations: 5.013 MB / 0.703 GB, free: 50.05 MB / 474.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005699/1.162, allocations: 7.889 MB / 0.7107 GB, free: 42.03 MB / 474.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.916e-05/1.162, allocations: 32 kB / 0.7107 GB, free: 42 MB / 474.9 MB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.009259/1.172, allocations: 8.214 MB / 0.7188 GB, free: 35.1 MB / 474.9 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/1.172, allocations: 56 kB / 0.7188 GB, free: 35.04 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.142e-05/1.172, allocations: 116 kB / 0.7189 GB, free: 34.93 MB / 474.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.001172/1.173, allocations: 0.7267 MB / 0.7196 GB, free: 34.22 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003762/1.177, allocations: 2.167 MB / 0.7218 GB, free: 32.29 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/1.18, allocations: 8.673 MB / 0.7302 GB, free: 24.14 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/1.184, allocations: 378.8 kB / 0.7306 GB, free: 23.95 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004776/1.184, allocations: 425.2 kB / 0.731 GB, free: 23.63 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.003676/1.188, allocations: 0.8403 MB / 0.7318 GB, free: 23.27 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/1.189, allocations: 0.8077 MB / 0.7326 GB, free: 22.48 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007712/1.197, allocations: 6.736 MB / 0.7392 GB, free: 15.86 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/1.197, allocations: 92 kB / 0.7393 GB, free: 15.77 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-05/1.197, allocations: 43.94 kB / 0.7393 GB, free: 15.73 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.32e-05/1.197, allocations: 47.83 kB / 0.7394 GB, free: 15.68 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02196/1.219, allocations: 16.91 MB / 0.7559 GB, free: 1.078 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/1.219, allocations: 4 kB / 0.7559 GB, free: 1.074 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/1.221, allocations: 1.192 MB / 0.757 GB, free: 15.95 MB / 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.001502/1.223, allocations: 0.7496 MB / 0.7578 GB, free: 15.2 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004133/1.223, allocations: 199.9 kB / 0.758 GB, free: 15.01 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007638/1.231, allocations: 12.48 MB / 0.7701 GB, free: 2.098 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.231, allocations: 9.422 kB / 0.7702 GB, free: 2.09 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1811/1.412, allocations: 8.224 MB / 0.7782 GB, free: 101.7 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004027/1.416, allocations: 1.15 MB / 0.7793 GB, free: 101.7 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00163/1.418, allocations: 173.2 kB / 0.7795 GB, free: 101.7 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002875/1.421, allocations: 272.8 kB / 0.7797 GB, free: 101.7 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001224/1.422, allocations: 0.7936 MB / 0.7805 GB, free: 101.7 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005302/1.422, allocations: 187 kB / 0.7807 GB, free: 101.7 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.003501/1.426, allocations: 2.465 MB / 0.7831 GB, free: 101.5 MB / 490.9 MB Notification: Performance of sort global known variables: time 3.4e-07/1.426, allocations: 0 / 0.7831 GB, free: 101.5 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.01069/1.437, allocations: 3.464 MB / 0.7865 GB, free: 101.5 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.001903/1.439, allocations: 465.2 kB / 0.7869 GB, free: 101.4 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.009933/1.448, allocations: 6.728 MB / 0.7935 GB, free: 100.5 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 0.0003657/1.449, allocations: 130.4 kB / 0.7936 GB, free: 100.5 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.005886/1.455, allocations: 4.181 MB / 0.7977 GB, free: 99.49 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008253/1.463, allocations: 2.24 MB / 0.7999 GB, free: 99.33 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0477/1.511, allocations: 30.91 MB / 0.8301 GB, free: 87.64 MB / 490.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009117/1.52, allocations: 4.144 MB / 0.8341 GB, free: 84.88 MB / 490.9 MB Notification: Performance of simCode: alias equations: time 0.005883/1.526, allocations: 1.336 MB / 0.8354 GB, free: 83.88 MB / 490.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004795/1.53, allocations: 1.964 MB / 0.8373 GB, free: 82.25 MB / 490.9 MB Notification: Performance of SimCode: time 2.495e-06/1.53, allocations: 3.656 kB / 0.8373 GB, free: 82.25 MB / 490.9 MB Notification: Performance of Templates: time 0.3731/1.904, allocations: 140.9 MB / 0.975 GB, free: 139.8 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 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.340286738239229]