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.001432/0.001432, allocations: 81.97 kB / 19.01 MB, free: 2.688 MB / 14.72 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.473/1.473, allocations: 177.2 MB / 199.3 MB, free: 9.48 MB / 190.1 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.00151/0.00151, allocations: 161.4 kB / 255.8 MB, free: 0.9297 MB / 238.1 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.0373/0.0373, allocations: 6.673 MB / 318.9 MB, free: 48.49 MB / 286.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003575/0.003575, allocations: 89.2 kB / 449.6 MB, free: 58.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1397, allocations: 55.58 MB / 0.4933 GB, free: 23.39 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.04376/0.1835, allocations: 42.86 MB / 0.5352 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03505/0.2185, allocations: 12.79 MB / 0.5477 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01339/0.2319, allocations: 457.6 kB / 0.5481 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03679/0.2687, allocations: 13.66 MB / 0.5614 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02337/0.2921, allocations: 5.566 MB / 0.5669 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01302/0.3051, allocations: 3.351 MB / 0.5702 GB, free: 8.465 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.03879/0.3439, allocations: 24.51 MB / 0.5941 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3875/0.7314, allocations: 29.99 MB / 0.6234 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04094/0.7724, allocations: 19.6 MB / 0.6425 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02649/0.7989, allocations: 13.65 MB / 0.6558 GB, free: 8.539 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01061/0.8095, allocations: 3.623 MB / 0.6594 GB, free: 8.539 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01425/0.8237, allocations: 4.102 MB / 0.6634 GB, free: 8.438 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01341/0.8371, allocations: 7.315 MB / 0.6705 GB, free: 3.645 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.04135/0.8785, allocations: 11.74 MB / 0.682 GB, free: 13.97 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0797/0.9582, allocations: 49.05 MB / 0.7299 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.9582, allocations: 0.8125 kB / 0.7299 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9582, allocations: 0 / 0.7299 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001543/0.9597, allocations: 4.875 kB / 0.7299 GB, free: 13.75 MB / 0.5137 GB 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.1044/1.064, allocations: 28.08 MB / 0.7573 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/1.064, allocations: 8.031 kB / 0.7573 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0774/1.142, allocations: 13.82 MB / 0.7708 GB, free: 4.078 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04085/1.182, allocations: 15.25 MB / 0.7857 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002307/1.185, allocations: 1.574 MB / 0.7872 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01201/1.197, allocations: 2.074 MB / 0.7893 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1268/1.324, allocations: 35.39 MB / 0.8238 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001302/1.325, allocations: 31.23 kB / 0.8239 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008789/1.334, allocations: 0.8557 MB / 0.8247 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001655/1.335, allocations: 1.153 MB / 0.8258 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.644/1.979, allocations: 32.29 MB / 0.8574 GB, free: 196.1 MB / 0.6076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1942/2.173, allocations: 93.47 MB / 0.9486 GB, free: 116 MB / 0.6076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03169/2.205, allocations: 22.68 MB / 0.9708 GB, free: 96.53 MB / 0.6076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01456/2.22, allocations: 8.964 MB / 0.9795 GB, free: 87.52 MB / 0.6076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04466/2.264, allocations: 20.4 MB / 0.9995 GB, free: 67.51 MB / 0.6076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.551e-05/2.264, allocations: 137.8 kB / 0.9996 GB, free: 67.37 MB / 0.6076 GB Notification: Performance of pre-optimization done (n=894): time 1.335e-05/2.264, allocations: 3.984 kB / 0.9996 GB, free: 67.36 MB / 0.6076 GB Notification: Performance of matching and sorting (n=906): time 0.07375/2.338, allocations: 39.02 MB / 1.038 GB, free: 29 MB / 0.6076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.725e-05/2.338, allocations: 172.5 kB / 1.038 GB, free: 28.81 MB / 0.6076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01184/2.35, allocations: 7.773 MB / 1.045 GB, free: 21.22 MB / 0.6076 GB Notification: Performance of collectPreVariables (initialization): time 0.001852/2.352, allocations: 173.7 kB / 1.046 GB, free: 21.04 MB / 0.6076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00505/2.357, allocations: 9.03 MB / 1.054 GB, free: 12.11 MB / 0.6076 GB Notification: Performance of collectInitialBindings (initialization): time 0.003818/2.361, allocations: 3.202 MB / 1.058 GB, free: 8.953 MB / 0.6076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004006/2.365, allocations: 2.244 MB / 1.06 GB, free: 6.699 MB / 0.6076 GB Notification: Performance of setup shared object (initialization): time 4.243e-05/2.365, allocations: 301.1 kB / 1.06 GB, free: 6.402 MB / 0.6076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008757/2.374, allocations: 6.249 MB / 1.066 GB, free: 152 kB / 0.6076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01736/2.391, allocations: 10.03 MB / 1.076 GB, free: 4.473 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5958/2.987, allocations: 17.27 MB / 1.093 GB, free: 187.7 MB / 0.6233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000159/2.987, allocations: 35.44 kB / 1.093 GB, free: 187.7 MB / 0.6233 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.04041/3.027, allocations: 20.14 MB / 1.113 GB, free: 180.2 MB / 0.6233 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/3.027, allocations: 58.66 kB / 1.113 GB, free: 180.2 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002418/3.028, allocations: 114.5 kB / 1.113 GB, free: 180.2 MB / 0.6233 GB 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.002849/3.031, allocations: 0.9241 MB / 1.114 GB, free: 179.9 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01131/3.042, allocations: 2.431 MB / 1.116 GB, free: 179.7 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009816/3.052, allocations: 11.74 MB / 1.127 GB, free: 170.8 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009697/3.061, allocations: 0.6005 MB / 1.128 GB, free: 170.6 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002589/3.064, allocations: 0.5274 MB / 1.129 GB, free: 170.5 MB / 0.6233 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): 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.01483/3.079, allocations: 7.916 MB / 1.136 GB, free: 166.7 MB / 0.6233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002429/3.081, allocations: 0.8871 MB / 1.137 GB, free: 166.7 MB / 0.6233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02723/3.108, allocations: 16.7 MB / 1.153 GB, free: 154.3 MB / 0.6233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.668e-05/3.109, allocations: 89.62 kB / 1.153 GB, free: 154.2 MB / 0.6233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.979e-05/3.109, allocations: 44 kB / 1.154 GB, free: 154.2 MB / 0.6233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001847/3.109, allocations: 48.25 kB / 1.154 GB, free: 154.2 MB / 0.6233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0619/3.171, allocations: 31.26 MB / 1.184 GB, free: 127.1 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.04e-05/3.171, allocations: 4 kB / 1.184 GB, free: 127.1 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00638/3.177, allocations: 1.439 MB / 1.186 GB, free: 125.7 MB / 0.6233 GB 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.002996/3.18, allocations: 0.9813 MB / 1.186 GB, free: 124.7 MB / 0.6233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001526/3.182, allocations: 215.9 kB / 1.187 GB, free: 124.5 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/3.194, allocations: 16.11 MB / 1.202 GB, free: 107.9 MB / 0.6233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/3.194, allocations: 12 kB / 1.202 GB, free: 107.8 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03634/3.23, allocations: 24.54 MB / 1.226 GB, free: 83.66 MB / 0.6233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006423/3.237, allocations: 2.211 MB / 1.229 GB, free: 81.94 MB / 0.6233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002525/3.239, allocations: 176 kB / 1.229 GB, free: 81.77 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006126/3.245, allocations: 491.5 kB / 1.229 GB, free: 81.29 MB / 0.6233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001853/3.247, allocations: 0.8385 MB / 1.23 GB, free: 80.45 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005908/3.248, allocations: 271.9 kB / 1.23 GB, free: 80.18 MB / 0.6233 GB Notification: Performance of sorting global known variables: time 0.008865/3.257, allocations: 5.114 MB / 1.235 GB, free: 75.1 MB / 0.6233 GB Notification: Performance of sort global known variables: time 4.51e-07/3.257, allocations: 3.938 kB / 1.235 GB, free: 75.1 MB / 0.6233 GB Notification: Performance of remove unused functions: time 0.01665/3.273, allocations: 3.463 MB / 1.239 GB, free: 71.64 MB / 0.6233 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): 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.003518/3.277, allocations: 465.2 kB / 1.239 GB, free: 71.21 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.02351/3.3, allocations: 15.37 MB / 1.254 GB, free: 55.78 MB / 0.6233 GB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/3.3, allocations: 6 kB / 1.254 GB, free: 55.78 MB / 0.6233 GB Notification: Performance of simCode: created simulation system equations: time 0.01285/3.313, allocations: 8.147 MB / 1.262 GB, free: 47.55 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01279/3.326, allocations: 2.17 MB / 1.264 GB, free: 45.43 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0736/3.399, allocations: 38.67 MB / 1.302 GB, free: 6.676 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02775/3.427, allocations: 12.88 MB / 1.315 GB, free: 9.742 MB / 0.6389 GB Notification: Performance of simCode: alias equations: time 0.01346/3.441, allocations: 3.905 MB / 1.318 GB, free: 5.828 MB / 0.6389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003579/3.444, allocations: 0.6761 MB / 1.319 GB, free: 5.152 MB / 0.6389 GB Notification: Performance of SimCode: time 1.382e-06/3.444, allocations: 0 / 1.319 GB, free: 5.152 MB / 0.6389 GB Notification: Performance of Templates: time 0.4984/3.943, allocations: 130.3 MB / 1.446 GB, free: 107.9 MB / 0.6389 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: 16.09657457843423] Failed to read output from testmodel.py, exit status != 0: 3.955138836055994 3.9611644 3.000454652 Calling exit ...