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.0007594/0.0007594, allocations: 76.45 kB / 19.93 MB, free: 4.629 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.8641/0.8641, allocations: 177.1 MB / 200.2 MB, free: 5.91 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.001028/0.001028, allocations: 164.5 kB / 256.7 MB, free: 13.31 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.02209/0.02209, allocations: 6.668 MB / 319.8 MB, free: 26.76 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 it seems broken on HelloWorld 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.463e-06/1.463e-06, allocations: 0 / 450.6 MB, free: 33.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.651e-05, allocations: 6.219 kB / 450.6 MB, free: 33.13 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.02535/0.02538, allocations: 42.92 MB / 493.5 MB, free: 6.031 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0252/0.05057, allocations: 12.8 MB / 0.4945 GB, free: 9.191 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01039/0.06096, allocations: 461.6 kB / 0.4949 GB, free: 8.738 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01893/0.0799, allocations: 13.69 MB / 0.5083 GB, free: 11.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01618/0.09608, allocations: 5.695 MB / 0.5138 GB, free: 5.289 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007698/0.1038, allocations: 3.359 MB / 0.5171 GB, free: 1.949 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02462/0.1284, allocations: 25.37 MB / 0.5419 GB, free: 8.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2439/0.3723, allocations: 30.06 MB / 0.5712 GB, free: 17.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02595/0.3982, allocations: 19.02 MB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01846/0.4167, allocations: 12.15 MB / 0.6017 GB, free: 11.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00937/0.4261, allocations: 3.623 MB / 0.6052 GB, free: 11.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01093/0.437, allocations: 4.136 MB / 0.6093 GB, free: 7.191 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00905/0.446, allocations: 7.458 MB / 0.6166 GB, free: 1.988 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.021/0.467, allocations: 9.513 MB / 0.6258 GB, free: 10.71 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04702/0.5141, allocations: 49.45 MB / 0.6741 GB, free: 10.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5141, allocations: 0 / 0.6741 GB, free: 10.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5141, allocations: 2.625 kB / 0.6741 GB, free: 10.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001371/0.5154, allocations: 3.375 kB / 0.6741 GB, free: 10.61 MB / 474.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.06401/0.5795, allocations: 27.86 MB / 0.7013 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5795, allocations: 16.03 kB / 0.7014 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04123/0.6207, allocations: 13.82 MB / 0.7149 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02582/0.6466, allocations: 15.25 MB / 0.7297 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/0.6476, allocations: 1.572 MB / 0.7313 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007063/0.6547, allocations: 2.08 MB / 0.7333 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3748/1.029, allocations: 35.39 MB / 0.7679 GB, free: 163.5 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004011/1.03, allocations: 28.06 kB / 0.7679 GB, free: 163.5 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002406/1.032, allocations: 0.861 MB / 0.7687 GB, free: 162.8 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005779/1.033, allocations: 1.157 MB / 0.7699 GB, free: 162.7 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04127/1.074, allocations: 32.28 MB / 0.8014 GB, free: 140.2 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1099/1.184, allocations: 93.48 MB / 0.8927 GB, free: 47.12 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/1.202, allocations: 22.66 MB / 0.9148 GB, free: 27.7 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007944/1.21, allocations: 8.962 MB / 0.9236 GB, free: 18.69 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02299/1.233, allocations: 20.42 MB / 0.9435 GB, free: 14.67 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.941e-05/1.233, allocations: 133.8 kB / 0.9436 GB, free: 14.52 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=894): time 9.387e-06/1.233, allocations: 0 / 0.9436 GB, free: 14.52 MB / 0.5418 GB Notification: Performance of matching and sorting (n=906): time 0.3848/1.618, allocations: 39.02 MB / 0.9817 GB, free: 163 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/1.618, allocations: 171.8 kB / 0.9819 GB, free: 162.9 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00847/1.627, allocations: 7.771 MB / 0.9895 GB, free: 160.2 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.001024/1.628, allocations: 180.6 kB / 0.9897 GB, free: 160 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.002695/1.63, allocations: 8.992 MB / 0.9984 GB, free: 154.4 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001696/1.632, allocations: 3.169 MB / 1.002 GB, free: 151.9 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002132/1.634, allocations: 2.221 MB / 1.004 GB, free: 150.9 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 2.709e-05/1.634, allocations: 307 kB / 1.004 GB, free: 150.6 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005207/1.639, allocations: 6.25 MB / 1.01 GB, free: 148.2 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006218/1.646, allocations: 10.02 MB / 1.02 GB, free: 141.2 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/1.658, allocations: 17.28 MB / 1.037 GB, free: 124.7 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.916e-05/1.658, allocations: 32 kB / 1.037 GB, free: 124.7 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.02023/1.679, allocations: 20.14 MB / 1.056 GB, free: 107.2 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/1.679, allocations: 52 kB / 1.057 GB, free: 107.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/1.679, allocations: 116 kB / 1.057 GB, free: 107.1 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00677/1.685, allocations: 4.312 MB / 1.061 GB, free: 103.1 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005029/1.69, allocations: 2.426 MB / 1.063 GB, free: 100.7 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02865/1.719, allocations: 39.41 MB / 1.102 GB, free: 60.74 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007559/1.727, allocations: 0.6008 MB / 1.102 GB, free: 60.14 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/1.728, allocations: 0.5234 MB / 1.103 GB, free: 59.61 MB / 0.5419 GB 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): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * 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): 6 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (30,174,25.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009379/1.737, allocations: 7.92 MB / 1.111 GB, free: 51.68 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/1.739, allocations: 0.8889 MB / 1.111 GB, free: 50.78 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/1.755, allocations: 16.7 MB / 1.128 GB, free: 33.98 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/1.755, allocations: 92 kB / 1.128 GB, free: 33.89 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-05/1.755, allocations: 51.94 kB / 1.128 GB, free: 33.84 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.504e-05/1.755, allocations: 43.83 kB / 1.128 GB, free: 33.8 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03526/1.791, allocations: 31.25 MB / 1.158 GB, free: 2.57 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.791, allocations: 12.06 kB / 1.158 GB, free: 2.559 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2011/1.992, allocations: 1.428 MB / 1.16 GB, free: 153.5 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007629/1.999, allocations: 4.317 MB / 1.164 GB, free: 153.4 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001247/2.001, allocations: 220.8 kB / 1.164 GB, free: 153.4 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0294/2.03, allocations: 41.27 MB / 1.205 GB, free: 132.7 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/2.03, allocations: 11.56 kB / 1.205 GB, free: 132.7 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.022/2.052, allocations: 24.54 MB / 1.228 GB, free: 120.7 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00368/2.056, allocations: 2.204 MB / 1.231 GB, free: 119.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008157/2.057, allocations: 184.5 kB / 1.231 GB, free: 119.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/2.059, allocations: 488.6 kB / 1.231 GB, free: 118.7 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001181/2.06, allocations: 0.7484 MB / 1.232 GB, free: 118.4 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003955/2.06, allocations: 265.9 kB / 1.232 GB, free: 118.1 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.004728/2.065, allocations: 5.117 MB / 1.237 GB, free: 113.9 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.51e-07/2.065, allocations: 0 / 1.237 GB, free: 113.9 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.007884/2.073, allocations: 3.796 MB / 1.241 GB, free: 110.1 MB / 0.5419 GB 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): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (30,174,25.9%), (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.0008831/2.074, allocations: 472.9 kB / 1.241 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.01477/2.089, allocations: 16.55 MB / 1.258 GB, free: 95.43 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/2.089, allocations: 128 / 1.258 GB, free: 95.43 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.008134/2.097, allocations: 9.317 MB / 1.267 GB, free: 87.37 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005996/2.103, allocations: 2.17 MB / 1.269 GB, free: 85.54 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03902/2.142, allocations: 38 MB / 1.306 GB, free: 47.45 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007914/2.15, allocations: 12.59 MB / 1.318 GB, free: 34.82 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002897/2.153, allocations: 0.7737 MB / 1.319 GB, free: 34.04 MB / 0.5419 GB Notification: Performance of SimCode: time 1.072e-06/2.153, allocations: 0 / 1.319 GB, free: 34.04 MB / 0.5419 GB Notification: Performance of Templates: time 1.4/3.553, allocations: 1.137 GB / 2.456 GB, free: 57.53 MB / 0.6044 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 23.62656658794731] Failed to read output from testmodel.py, exit status != 0: 3.5584551990032196 3.564675469 3.049125019 Calling exit ...