Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 246.2 MB, free: 13.62 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 187 kB / 301.4 MB, free: 9.121 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04079/0.04079, allocations: 8.93 MB / 365.5 MB, free: 9.246 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 87.36 kB / 489.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1232, allocations: 54.4 MB / 0.531 GB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.04527/0.1684, allocations: 38.56 MB / 0.5687 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02492/0.1934, allocations: 10.07 MB / 0.5785 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007093/0.2004, allocations: 291.1 kB / 0.5788 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02768/0.2281, allocations: 10.24 MB / 0.5888 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01892/0.247, allocations: 4.14 MB / 0.5929 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01022/0.2573, allocations: 2.395 MB / 0.5952 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02615/0.2834, allocations: 16.41 MB / 0.6112 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04391/0.3273, allocations: 19.35 MB / 0.6301 GB, free: 8.738 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01496/0.3423, allocations: 8.529 MB / 0.6384 GB, free: 192 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.5556/0.8978, allocations: 9.429 MB / 0.6477 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008864/0.9067, allocations: 2.42 MB / 0.65 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01582/0.9225, allocations: 2.817 MB / 0.6528 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01277/0.9353, allocations: 4.824 MB / 0.6575 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02176/0.957, allocations: 9.201 MB / 0.6665 GB, free: 23.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04134/0.9984, allocations: 32.19 MB / 0.6979 GB, free: 4.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.9984, allocations: 0 / 0.6979 GB, free: 4.238 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.9984, allocations: 0 / 0.6979 GB, free: 4.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001648/1, allocations: 0 / 0.6979 GB, free: 4.238 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.07329/1.073, allocations: 19.03 MB / 0.7165 GB, free: 5.469 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.073, allocations: 8.031 kB / 0.7165 GB, free: 5.461 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04885/1.122, allocations: 8.368 MB / 0.7247 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02819/1.15, allocations: 10.24 MB / 0.7347 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001407/1.152, allocations: 1.057 MB / 0.7357 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007205/1.159, allocations: 1.396 MB / 0.7371 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08238/1.241, allocations: 22.75 MB / 0.7593 GB, free: 10.08 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000829/1.242, allocations: 23.88 kB / 0.7593 GB, free: 10.05 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007163/1.249, allocations: 0.5775 MB / 0.7599 GB, free: 9.492 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001031/1.25, allocations: 0.7791 MB / 0.7606 GB, free: 8.715 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05584/1.306, allocations: 21.01 MB / 0.7811 GB, free: 3.699 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4842/1.79, allocations: 72.17 MB / 0.8516 GB, free: 166.1 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02764/1.818, allocations: 41.79 MB / 0.8924 GB, free: 130.9 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006905/1.825, allocations: 4.716 MB / 0.897 GB, free: 130.8 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02214/1.847, allocations: 12.69 MB / 0.9094 GB, free: 129.9 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.94e-05/1.847, allocations: 88.08 kB / 0.9095 GB, free: 129.9 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 5.821e-06/1.847, allocations: 3.938 kB / 0.9095 GB, free: 129.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05902/1.906, allocations: 26.61 MB / 0.9355 GB, free: 119.7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/1.906, allocations: 130.8 kB / 0.9356 GB, free: 119.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/1.917, allocations: 5.773 MB / 0.9413 GB, free: 117.5 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001319/1.919, allocations: 109 kB / 0.9414 GB, free: 117.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004256/1.923, allocations: 6.361 MB / 0.9476 GB, free: 112.4 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002524/1.926, allocations: 1.817 MB / 0.9494 GB, free: 110.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002743/1.928, allocations: 1.473 MB / 0.9508 GB, free: 110 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 7.861e-05/1.928, allocations: 305.1 kB / 0.9511 GB, free: 109.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005515/1.934, allocations: 3.631 MB / 0.9546 GB, free: 107.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007695/1.942, allocations: 6.483 MB / 0.961 GB, free: 101.9 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01314/1.955, allocations: 10.75 MB / 0.9715 GB, free: 89.87 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/1.955, allocations: 28 kB / 0.9715 GB, free: 89.84 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02229/1.977, allocations: 12.07 MB / 0.9833 GB, free: 77.7 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/1.977, allocations: 44.94 kB / 0.9833 GB, free: 77.65 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001786/1.977, allocations: 96 kB / 0.9834 GB, free: 77.56 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004369/1.982, allocations: 1.611 MB / 0.985 GB, free: 75.94 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006407/1.988, allocations: 1.657 MB / 0.9866 GB, free: 74.28 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/2.009, allocations: 19.67 MB / 1.006 GB, free: 53.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006585/2.016, allocations: 443.5 kB / 1.006 GB, free: 53.48 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/2.017, allocations: 368 kB / 1.007 GB, free: 53.12 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0104/2.028, allocations: 5.181 MB / 1.012 GB, free: 47.92 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002064/2.03, allocations: 0.621 MB / 1.012 GB, free: 47.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/2.047, allocations: 9.312 MB / 1.021 GB, free: 37.89 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008874/2.056, allocations: 5.829 MB / 1.027 GB, free: 32.03 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.567e-05/2.056, allocations: 20 kB / 1.027 GB, free: 32.01 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.11e-05/2.056, allocations: 27.89 kB / 1.027 GB, free: 31.98 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04595/2.102, allocations: 20.96 MB / 1.048 GB, free: 10.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/2.102, allocations: 4.781 kB / 1.048 GB, free: 10.91 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003869/2.105, allocations: 0.8698 MB / 1.048 GB, free: 10.04 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004567/2.11, allocations: 1.642 MB / 1.05 GB, free: 8.375 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001056/2.111, allocations: 124 kB / 1.05 GB, free: 8.254 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03101/2.142, allocations: 23.26 MB / 1.073 GB, free: 56 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/2.142, allocations: 8 kB / 1.073 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.416/2.558, allocations: 13.69 MB / 1.086 GB, free: 184.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005346/2.564, allocations: 1.386 MB / 1.088 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002292/2.566, allocations: 103 kB / 1.088 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004311/2.57, allocations: 286.8 kB / 1.088 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001202/2.571, allocations: 414 kB / 1.088 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003621/2.572, allocations: 155.2 kB / 1.088 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00794/2.58, allocations: 3.886 MB / 1.092 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.01e-07/2.58, allocations: 0 / 1.092 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01407/2.594, allocations: 2.339 MB / 1.095 GB, free: 181.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (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,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001885/2.596, allocations: 326.6 kB / 1.095 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01933/2.615, allocations: 9.528 MB / 1.104 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-05/2.615, allocations: 0 / 1.104 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01003/2.625, allocations: 5.138 MB / 1.109 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01439/2.639, allocations: 1.634 MB / 1.111 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0627/2.702, allocations: 25.18 MB / 1.135 GB, free: 162.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01872/2.721, allocations: 8.847 MB / 1.144 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008655/2.729, allocations: 2.537 MB / 1.147 GB, free: 153.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/2.731, allocations: 454.6 kB / 1.147 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.473e-06/2.731, allocations: 0 / 1.147 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1681/2.899, allocations: 101.1 MB / 1.246 GB, free: 55.68 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_DOL.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.823941262438893]