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.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.0009269/0.0009269, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.97/0.97, allocations: 177.1 MB / 200 MB, free: 5.531 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.001271/0.001271, allocations: 164.6 kB / 256.6 MB, free: 13 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.02348/0.02348, allocations: 6.657 MB / 319.8 MB, free: 26.54 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) 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 2.174e-06/2.174e-06, allocations: 0 / 391.6 MB, free: 2.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.312e-05/3.53e-05, allocations: 2.312 kB / 391.6 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.176/0.176, allocations: 37.7 MB / 429.3 MB, free: 64.13 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02081/0.1968, allocations: 10.26 MB / 439.6 MB, free: 57.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007483/0.2043, allocations: 355.6 kB / 440 MB, free: 57.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01368/0.218, allocations: 10.76 MB / 450.7 MB, free: 48.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.2283, allocations: 4.264 MB / 455 MB, free: 43.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004584/0.2329, allocations: 2.458 MB / 457.4 MB, free: 41.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01356/0.2465, allocations: 17.26 MB / 474.7 MB, free: 24.01 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01972/0.2662, allocations: 20.39 MB / 495.1 MB, free: 3.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01123/0.2774, allocations: 12.91 MB / 0.4961 GB, free: 6.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01199/0.2894, allocations: 9.021 MB / 0.5049 GB, free: 13.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005169/0.2946, allocations: 2.414 MB / 0.5073 GB, free: 11.03 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005744/0.3003, allocations: 2.835 MB / 0.51 GB, free: 8.195 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003618/0.3039, allocations: 4.995 MB / 0.5149 GB, free: 3.188 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007133/0.3111, allocations: 6.269 MB / 0.521 GB, free: 12.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01855/0.3296, allocations: 15.4 MB / 0.5361 GB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3296, allocations: 0 / 0.5361 GB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3296, allocations: 0 / 0.5361 GB, free: 13.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0008008/0.3304, allocations: 0 / 0.5361 GB, free: 13.46 MB / 394.7 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.3135/0.644, allocations: 20.02 MB / 0.5556 GB, free: 82.2 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.644, allocations: 9.562 kB / 0.5556 GB, free: 82.2 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03047/0.6745, allocations: 10.54 MB / 0.5659 GB, free: 81.32 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01599/0.6905, allocations: 9.855 MB / 0.5756 GB, free: 78.35 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/0.6915, allocations: 1.061 MB / 0.5766 GB, free: 77.87 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00462/0.6961, allocations: 1.407 MB / 0.578 GB, free: 77.4 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03283/0.7289, allocations: 12.3 MB / 0.59 GB, free: 66.89 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003706/0.7293, allocations: 19.89 kB / 0.59 GB, free: 66.87 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002219/0.7315, allocations: 0.5755 MB / 0.5906 GB, free: 66.31 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004308/0.7319, allocations: 0.7715 MB / 0.5913 GB, free: 65.54 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02119/0.7531, allocations: 6.639 MB / 0.5978 GB, free: 58.89 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0835/0.8366, allocations: 58.11 MB / 0.6545 GB, free: 1.25 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01411/0.8507, allocations: 11.62 MB / 0.6659 GB, free: 7.602 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003897/0.8546, allocations: 2.26 MB / 0.6681 GB, free: 5.328 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01495/0.8696, allocations: 8.297 MB / 0.6762 GB, free: 13.36 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.152e-05/0.8697, allocations: 89.59 kB / 0.6763 GB, free: 13.26 MB / 426.8 MB Notification: Performance of pre-optimization done (n=498): time 7.233e-06/0.8697, allocations: 0 / 0.6763 GB, free: 13.26 MB / 426.8 MB Notification: Performance of matching and sorting (n=506): time 0.03556/0.9052, allocations: 17.05 MB / 0.6929 GB, free: 12.3 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.763e-05/0.9053, allocations: 132.3 kB / 0.6931 GB, free: 12.16 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006808/0.9121, allocations: 4.97 MB / 0.6979 GB, free: 7.203 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007988/0.9129, allocations: 105.7 kB / 0.698 GB, free: 7.094 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003442/0.9164, allocations: 6.683 MB / 0.7045 GB, free: 404 kB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001899/0.9183, allocations: 1.852 MB / 0.7064 GB, free: 14.56 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00209/0.9204, allocations: 1.635 MB / 0.708 GB, free: 12.92 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.9205, allocations: 480.8 kB / 0.7084 GB, free: 12.45 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/0.9228, allocations: 1.147 MB / 0.7095 GB, free: 11.3 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004339/0.9271, allocations: 5.43 MB / 0.7148 GB, free: 4.113 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1877/1.115, allocations: 7.258 MB / 0.7219 GB, free: 110.5 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/1.115, allocations: 27.53 kB / 0.7219 GB, free: 110.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01385/1.129, allocations: 7.112 MB / 0.7289 GB, free: 110.2 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.669e-05/1.129, allocations: 46.53 kB / 0.7289 GB, free: 110.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002198/1.129, allocations: 93.12 kB / 0.729 GB, free: 110.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004371/1.134, allocations: 1.386 MB / 0.7304 GB, free: 110.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00521/1.139, allocations: 1.676 MB / 0.732 GB, free: 110.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/1.154, allocations: 15.57 MB / 0.7472 GB, free: 100.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005744/1.159, allocations: 422.4 kB / 0.7476 GB, free: 100.6 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/1.161, allocations: 373.1 kB / 0.748 GB, free: 100.6 MB / 458.8 MB 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.004066/1.165, allocations: 0.6545 MB / 0.7486 GB, free: 100.5 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/1.166, allocations: 0.7508 MB / 0.7494 GB, free: 100.5 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009449/1.176, allocations: 5.168 MB / 0.7544 GB, free: 100 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004697/1.181, allocations: 2.845 MB / 0.7572 GB, free: 99.81 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.829e-05/1.181, allocations: 26.22 kB / 0.7572 GB, free: 99.81 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.098e-05/1.181, allocations: 22.64 kB / 0.7572 GB, free: 99.81 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0269/1.208, allocations: 14.95 MB / 0.7718 GB, free: 97.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/1.208, allocations: 4 kB / 0.7718 GB, free: 97.69 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/1.21, allocations: 0.869 MB / 0.7727 GB, free: 97.05 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003348/1.213, allocations: 1.416 MB / 0.7741 GB, free: 96.16 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003611/1.213, allocations: 129.6 kB / 0.7742 GB, free: 96.12 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/1.226, allocations: 19.86 MB / 0.7936 GB, free: 77.71 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.226, allocations: 11.38 kB / 0.7936 GB, free: 77.7 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/1.236, allocations: 6.592 MB / 0.8 GB, free: 71.92 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003084/1.239, allocations: 1.201 MB / 0.8012 GB, free: 70.99 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/1.24, allocations: 111.6 kB / 0.8013 GB, free: 70.89 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/1.242, allocations: 275.9 kB / 0.8016 GB, free: 70.69 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008059/1.243, allocations: 439.9 kB / 0.802 GB, free: 70.48 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002556/1.243, allocations: 166.5 kB / 0.8021 GB, free: 70.33 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003302/1.247, allocations: 2.358 MB / 0.8045 GB, free: 68.41 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.3e-07/1.247, allocations: 0 / 0.8045 GB, free: 68.41 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006907/1.254, allocations: 2.33 MB / 0.8067 GB, free: 66.09 MB / 458.8 MB 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,5,100.0%), (1,8,100.0%), (1,13,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.000695/1.254, allocations: 312.5 kB / 0.807 GB, free: 65.84 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.008117/1.262, allocations: 6.023 MB / 0.8129 GB, free: 60.66 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.262, allocations: 0 / 0.8129 GB, free: 60.66 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004172/1.267, allocations: 3.884 MB / 0.8167 GB, free: 57.15 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004734/1.271, allocations: 1.499 MB / 0.8182 GB, free: 55.82 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02767/1.299, allocations: 21.12 MB / 0.8388 GB, free: 34.5 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003623/1.303, allocations: 3.811 MB / 0.8425 GB, free: 30.66 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004606/1.307, allocations: 2.122 MB / 0.8446 GB, free: 28.53 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.308, allocations: 468.4 kB / 0.845 GB, free: 28.07 MB / 458.8 MB Notification: Performance of SimCode: time 2.074e-06/1.308, allocations: 0 / 0.845 GB, free: 28.07 MB / 458.8 MB Notification: Performance of Templates: time 0.2832/1.592, allocations: 89.21 MB / 0.9321 GB, free: 117.1 MB / 474.8 MB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.238015979062766]