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.00193/0.00193, allocations: 89.48 kB / 19.44 MB, free: 336 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 1.534/1.534, allocations: 177.1 MB / 199.7 MB, free: 5.785 MB / 186.7 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.002122/0.002122, allocations: 164.6 kB / 256.3 MB, free: 13.17 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.04029/0.04029, allocations: 6.654 MB / 319.4 MB, free: 26.58 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 1.703e-06/1.703e-06, allocations: 0 / 390.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.715e-05/3.885e-05, allocations: 5.969 kB / 390.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.214/0.214, allocations: 37.43 MB / 428.4 MB, free: 64.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02638/0.2404, allocations: 10.26 MB / 438.6 MB, free: 57.42 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01161/0.252, allocations: 356.7 kB / 439 MB, free: 57.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02244/0.2745, allocations: 10.72 MB / 449.7 MB, free: 48.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01631/0.2908, allocations: 4.258 MB / 453.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007557/0.2983, allocations: 2.451 MB / 456.4 MB, free: 41.8 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01821/0.3166, allocations: 17.25 MB / 473.7 MB, free: 24.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03172/0.3483, allocations: 20.4 MB / 494 MB, free: 3.898 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02929/0.3776, allocations: 12.9 MB / 0.4951 GB, free: 6.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02121/0.3988, allocations: 8.99 MB / 0.5038 GB, free: 13.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008297/0.4071, allocations: 2.414 MB / 0.5062 GB, free: 11.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01262/0.4197, allocations: 2.835 MB / 0.509 GB, free: 8.723 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009686/0.4294, allocations: 4.999 MB / 0.5139 GB, free: 3.711 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01771/0.4471, allocations: 6.265 MB / 0.52 GB, free: 13.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4014/0.8485, allocations: 32.82 MB / 0.552 GB, free: 55.16 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.8485, allocations: 0 / 0.552 GB, free: 55.16 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.194e-06/0.8485, allocations: 0 / 0.552 GB, free: 55.16 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.0009896/0.8495, allocations: 0 / 0.552 GB, free: 55.16 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: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.06925/0.9187, allocations: 21.73 MB / 0.5732 GB, free: 50.08 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/0.9188, allocations: 9.25 kB / 0.5732 GB, free: 50.08 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05631/0.9751, allocations: 10.54 MB / 0.5835 GB, free: 48.56 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02885/1.004, allocations: 9.939 MB / 0.5932 GB, free: 43.64 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001494/1.005, allocations: 1.062 MB / 0.5943 GB, free: 43.16 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00878/1.014, allocations: 1.403 MB / 0.5956 GB, free: 42.7 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07217/1.086, allocations: 23.53 MB / 0.6186 GB, free: 19.3 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001581/1.088, allocations: 23.66 kB / 0.6186 GB, free: 19.28 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01063/1.099, allocations: 0.5761 MB / 0.6192 GB, free: 18.71 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001226/1.1, allocations: 0.7793 MB / 0.62 GB, free: 17.93 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05037/1.15, allocations: 18.72 MB / 0.6382 GB, free: 15.21 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4046/1.555, allocations: 133.5 MB / 0.7686 GB, free: 141.4 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02472/1.58, allocations: 13.12 MB / 0.7814 GB, free: 140.7 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008893/1.588, allocations: 4.151 MB / 0.7855 GB, free: 140.6 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.032/1.62, allocations: 12.18 MB / 0.7974 GB, free: 138 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.024e-05/1.62, allocations: 95.97 kB / 0.7975 GB, free: 138 MB / 490.8 MB Notification: Performance of pre-optimization done (n=498): time 1.129e-05/1.621, allocations: 0 / 0.7975 GB, free: 138 MB / 490.8 MB Notification: Performance of matching and sorting (n=506): time 0.06896/1.689, allocations: 23.37 MB / 0.8203 GB, free: 119.7 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/1.69, allocations: 133.3 kB / 0.8204 GB, free: 119.5 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01618/1.706, allocations: 7.789 MB / 0.828 GB, free: 111.8 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001473/1.707, allocations: 109.7 kB / 0.8281 GB, free: 111.7 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00545/1.713, allocations: 7.106 MB / 0.8351 GB, free: 104.5 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003073/1.716, allocations: 1.994 MB / 0.837 GB, free: 102.6 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00693/1.723, allocations: 1.959 MB / 0.8389 GB, free: 100.6 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.364e-05/1.723, allocations: 476.8 kB / 0.8394 GB, free: 100.1 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006242/1.729, allocations: 2.962 MB / 0.8423 GB, free: 97.16 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008506/1.737, allocations: 7.551 MB / 0.8496 GB, free: 87.81 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01499/1.752, allocations: 11.6 MB / 0.861 GB, free: 74.41 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002459/1.753, allocations: 28 kB / 0.861 GB, free: 74.38 MB / 490.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02724/1.78, allocations: 11.11 MB / 0.8718 GB, free: 63.21 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001677/1.78, allocations: 44 kB / 0.8719 GB, free: 63.17 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002269/1.78, allocations: 92 kB / 0.872 GB, free: 63.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006289/1.787, allocations: 1.871 MB / 0.8738 GB, free: 61.19 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007054/1.794, allocations: 1.669 MB / 0.8754 GB, free: 59.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02366/1.817, allocations: 21.31 MB / 0.8962 GB, free: 37.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007439/1.825, allocations: 419.6 kB / 0.8966 GB, free: 37.22 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001832/1.827, allocations: 371.9 kB / 0.897 GB, free: 36.86 MB / 490.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.01024/1.837, allocations: 4.71 MB / 0.9016 GB, free: 32.13 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003004/1.84, allocations: 0.7539 MB / 0.9023 GB, free: 31.37 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01723/1.857, allocations: 7.921 MB / 0.9101 GB, free: 23.38 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0111/1.868, allocations: 5.014 MB / 0.915 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.725e-05/1.868, allocations: 16 kB / 0.915 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001466/1.868, allocations: 31.89 kB / 0.915 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3247/2.193, allocations: 22.25 MB / 0.9367 GB, free: 149.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.043e-05/2.193, allocations: 3.812 kB / 0.9367 GB, free: 149.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003998/2.197, allocations: 0.87 MB / 0.9376 GB, free: 149.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006443/2.204, allocations: 1.923 MB / 0.9395 GB, free: 149.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001191/2.205, allocations: 133.3 kB / 0.9396 GB, free: 149.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02693/2.232, allocations: 25.77 MB / 0.9648 GB, free: 135.8 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/2.232, allocations: 8.828 kB / 0.9648 GB, free: 135.8 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0225/2.254, allocations: 11.8 MB / 0.9763 GB, free: 134.5 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004894/2.259, allocations: 1.203 MB / 0.9775 GB, free: 134.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002162/2.261, allocations: 107.7 kB / 0.9776 GB, free: 134.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004662/2.266, allocations: 282.3 kB / 0.9778 GB, free: 134.5 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001808/2.268, allocations: 436.3 kB / 0.9782 GB, free: 134.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009612/2.269, allocations: 162.5 kB / 0.9784 GB, free: 134.4 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.008942/2.278, allocations: 4.018 MB / 0.9823 GB, free: 134.2 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.51e-07/2.278, allocations: 0 / 0.9823 GB, free: 134.2 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01341/2.291, allocations: 2.339 MB / 0.9846 GB, free: 134.2 MB / 490.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.001828/2.293, allocations: 316.4 kB / 0.9849 GB, free: 134.1 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0193/2.312, allocations: 9.402 MB / 0.9941 GB, free: 131.3 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.616e-05/2.312, allocations: 4.922 kB / 0.9941 GB, free: 131.3 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01039/2.323, allocations: 5.271 MB / 0.9992 GB, free: 128.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01189/2.334, allocations: 1.487 MB / 1.001 GB, free: 128.1 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06309/2.398, allocations: 23.47 MB / 1.024 GB, free: 106.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02689/2.424, allocations: 7.763 MB / 1.031 GB, free: 98.46 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.01381/2.438, allocations: 2.114 MB / 1.033 GB, free: 96.34 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003427/2.442, allocations: 472.4 kB / 1.034 GB, free: 95.88 MB / 490.8 MB Notification: Performance of SimCode: time 2.495e-06/2.442, allocations: 0 / 1.034 GB, free: 95.88 MB / 490.8 MB Notification: Performance of Templates: time 0.2204/2.662, allocations: 89.12 MB / 1.121 GB, free: 7.809 MB / 490.8 MB " [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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.465409968979657]