Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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.001908/0.001908, allocations: 81.5 kB / 19.44 MB, free: 348 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.518/1.518, allocations: 177.1 MB / 199.7 MB, free: 4.793 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.002103/0.002103, allocations: 162.9 kB / 256.3 MB, free: 384 kB / 234.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.04415/0.04415, allocations: 6.664 MB / 319.4 MB, free: 1.395 MB / 298.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_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") translateModel(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 390.9 MB, free: 58.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.49e-05/3.713e-05, allocations: 2.312 kB / 390.9 MB, free: 58.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01232/0.01236, allocations: 13.45 MB / 404.4 MB, free: 45.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009256/0.02162, allocations: 4.505 MB / 408.9 MB, free: 40.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003651/0.02527, allocations: 111.3 kB / 409 MB, free: 40.51 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003688/0.02896, allocations: 1.044 MB / 410 MB, free: 39.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005749/0.0347, allocations: 1.335 MB / 411.4 MB, free: 38.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.03726, allocations: 0.9116 MB / 412.3 MB, free: 37.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005127/0.04238, allocations: 4.282 MB / 416.6 MB, free: 32.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002439/0.04482, allocations: 1.906 MB / 418.5 MB, free: 30.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/0.04907, allocations: 2.936 MB / 421.4 MB, free: 27.99 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002733/0.05181, allocations: 1.996 MB / 423.4 MB, free: 25.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007071/0.05251, allocations: 0.5234 MB / 423.9 MB, free: 25.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.05396, allocations: 0.7378 MB / 424.7 MB, free: 24.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007288/0.05469, allocations: 1.196 MB / 425.9 MB, free: 23.53 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001749/0.05644, allocations: 1.501 MB / 427.4 MB, free: 22.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006424/0.06286, allocations: 7.043 MB / 434.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.06287, allocations: 8 kB / 434.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.06287, allocations: 0 / 434.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000194/0.06307, allocations: 0 / 434.4 MB, free: 14.95 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.01285/0.07592, allocations: 5.106 MB / 439.5 MB, free: 9.785 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.07597, allocations: 15.98 kB / 439.5 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004546/0.08051, allocations: 1.251 MB / 440.8 MB, free: 8.516 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/0.08496, allocations: 2.401 MB / 443.2 MB, free: 6.066 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.08509, allocations: 251.1 kB / 443.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004963/0.08558, allocations: 336.3 kB / 443.8 MB, free: 5.492 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006948/0.09253, allocations: 4.741 MB / 448.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.057e-05/0.09261, allocations: 0 / 448.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/0.09288, allocations: 136 kB / 448.6 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.093, allocations: 162.7 kB / 448.8 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007244/0.1002, allocations: 3.395 MB / 452.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1954/0.2957, allocations: 22.2 MB / 474.4 MB, free: 66.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.3001, allocations: 2.273 MB / 476.7 MB, free: 66.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.3017, allocations: 1.042 MB / 477.7 MB, free: 65.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005507/0.3072, allocations: 2.949 MB / 480.7 MB, free: 64.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3072, allocations: 57.72 kB / 480.7 MB, free: 64.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 2.915e-06/0.3072, allocations: 0 / 480.7 MB, free: 64.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.008376/0.3156, allocations: 4.2 MB / 484.9 MB, free: 62.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.3156, allocations: 71.28 kB / 485 MB, free: 62.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.3179, allocations: 2.03 MB / 487 MB, free: 61.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/0.3179, allocations: 45.2 kB / 487.1 MB, free: 61.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00084/0.3188, allocations: 1.739 MB / 488.8 MB, free: 59.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.3191, allocations: 488.9 kB / 489.3 MB, free: 59.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004338/0.3195, allocations: 389.1 kB / 489.7 MB, free: 58.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.3196, allocations: 476.8 kB / 490.1 MB, free: 58.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007182/0.3203, allocations: 0.5036 MB / 490.6 MB, free: 58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.3215, allocations: 1.33 MB / 492 MB, free: 56.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.3238, allocations: 1.969 MB / 493.9 MB, free: 54.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.3238, allocations: 4 kB / 493.9 MB, free: 54.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003003/0.3268, allocations: 1.954 MB / 495.9 MB, free: 52.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.3268, allocations: 16.06 kB / 495.9 MB, free: 52.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.3268, allocations: 16 kB / 495.9 MB, free: 52.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004001/0.3272, allocations: 142.9 kB / 496.1 MB, free: 51.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.3285, allocations: 391.4 kB / 496.4 MB, free: 51.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.3305, allocations: 4.103 MB / 0.4888 GB, free: 47.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.3317, allocations: 75.86 kB / 0.4889 GB, free: 47.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.3318, allocations: 71.98 kB / 0.489 GB, free: 47.07 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001604/0.3334, allocations: 0.9645 MB / 0.4899 GB, free: 46.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/0.3337, allocations: 214.9 kB / 0.4901 GB, free: 45.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.3364, allocations: 1.658 MB / 0.4917 GB, free: 44.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.3365, allocations: 15.61 kB / 0.4917 GB, free: 44.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3365, allocations: 8 kB / 0.4917 GB, free: 44.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.3365, allocations: 7.969 kB / 0.4918 GB, free: 44.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007797/0.3443, allocations: 4.862 MB / 0.4965 GB, free: 39.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.3443, allocations: 4 kB / 0.4965 GB, free: 39.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/0.345, allocations: 164 kB / 0.4967 GB, free: 39.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.3463, allocations: 0.5046 MB / 0.4972 GB, free: 38.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.563e-05/0.3464, allocations: 31.98 kB / 0.4972 GB, free: 38.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008109/0.3545, allocations: 12.92 MB / 0.5098 GB, free: 25.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3545, allocations: 4 kB / 0.5098 GB, free: 25.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003979/0.3585, allocations: 2.451 MB / 0.5122 GB, free: 22.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009308/0.3594, allocations: 290.8 kB / 0.5125 GB, free: 22.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.3596, allocations: 32.11 kB / 0.5125 GB, free: 22.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007292/0.3603, allocations: 59.91 kB / 0.5126 GB, free: 22.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/0.3606, allocations: 108.7 kB / 0.5127 GB, free: 22.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/0.3607, allocations: 35.98 kB / 0.5127 GB, free: 21.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001448/0.3621, allocations: 1.123 MB / 0.5138 GB, free: 20.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3621, allocations: 0 / 0.5138 GB, free: 20.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002245/0.3644, allocations: 0.5468 MB / 0.5143 GB, free: 20.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (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,vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.0003532/0.3647, allocations: 159.7 kB / 0.5145 GB, free: 20.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002493/0.3672, allocations: 1.743 MB / 0.5162 GB, free: 18.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.3672, allocations: 5 kB / 0.5162 GB, free: 18.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001846/0.3691, allocations: 1.719 MB / 0.5179 GB, free: 16.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.3711, allocations: 466.1 kB / 0.5183 GB, free: 16.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008676/0.3798, allocations: 5.382 MB / 0.5236 GB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.3813, allocations: 1.694 MB / 0.5252 GB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001133/0.3824, allocations: 322.6 kB / 0.5255 GB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.3826, allocations: 116.5 kB / 0.5256 GB, free: 8.496 MB / 330.7 MB Notification: Performance of SimCode: time 2.024e-06/0.3826, allocations: 5.094 kB / 0.5256 GB, free: 8.492 MB / 330.7 MB Notification: Performance of Templates: time 0.04961/0.4323, allocations: 25.53 MB / 0.5506 GB, free: 15.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.065803154022433]