Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.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.001915/0.001915, allocations: 93.47 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.594/1.594, allocations: 177.1 MB / 199.7 MB, free: 5.82 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.00217/0.00217, allocations: 163.7 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.04113/0.04113, allocations: 6.662 MB / 319.4 MB, free: 26.55 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_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 390.9 MB, free: 2.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.471e-05, allocations: 2.312 kB / 390.9 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.0195/0.01954, allocations: 13.39 MB / 404.3 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.03043, allocations: 4.517 MB / 408.8 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00269/0.03312, allocations: 111.3 kB / 408.9 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1807/0.2138, allocations: 1.039 MB / 410 MB, free: 69.42 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006401/0.2202, allocations: 1.334 MB / 411.3 MB, free: 69.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003328/0.2235, allocations: 0.901 MB / 412.2 MB, free: 69.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007706/0.2312, allocations: 4.282 MB / 416.5 MB, free: 68.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003782/0.235, allocations: 1.906 MB / 418.4 MB, free: 67.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005916/0.2409, allocations: 2.94 MB / 421.3 MB, free: 66.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003448/0.2444, allocations: 1.993 MB / 423.3 MB, free: 65.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001024/0.2454, allocations: 0.5266 MB / 423.9 MB, free: 65.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.2473, allocations: 0.7335 MB / 424.6 MB, free: 65.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009057/0.2482, allocations: 1.195 MB / 425.8 MB, free: 65.15 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002142/0.2503, allocations: 1.494 MB / 427.3 MB, free: 64.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007173/0.2575, allocations: 7.047 MB / 434.3 MB, free: 59.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2575, allocations: 0 / 434.3 MB, free: 59.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2575, allocations: 0 / 434.3 MB, free: 59.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001971/0.2577, allocations: 0.5625 kB / 434.3 MB, free: 59.82 MB / 330.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.01178/0.2695, allocations: 5.113 MB / 439.4 MB, free: 55.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.2695, allocations: 8.031 kB / 439.5 MB, free: 55.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004446/0.274, allocations: 1.253 MB / 440.7 MB, free: 53.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/0.2789, allocations: 2.403 MB / 443.1 MB, free: 51.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.279, allocations: 258.1 kB / 443.4 MB, free: 51.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005537/0.2795, allocations: 335.5 kB / 443.7 MB, free: 50.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007117/0.2867, allocations: 4.733 MB / 448.4 MB, free: 46.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.209e-05/0.2867, allocations: 7.938 kB / 448.4 MB, free: 46.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002927/0.287, allocations: 138 kB / 448.6 MB, free: 45.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001404/0.2872, allocations: 158.7 kB / 448.7 MB, free: 45.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005595/0.2928, allocations: 3.396 MB / 452.1 MB, free: 42.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02657/0.3193, allocations: 22.22 MB / 474.3 MB, free: 19.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/0.3237, allocations: 2.258 MB / 476.6 MB, free: 17.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.3253, allocations: 1.039 MB / 477.6 MB, free: 16.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00536/0.3307, allocations: 2.948 MB / 480.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3307, allocations: 46.39 kB / 480.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 2.865e-06/0.3307, allocations: 3.656 kB / 480.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.009011/0.3397, allocations: 4.212 MB / 484.8 MB, free: 8.805 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.3398, allocations: 67.88 kB / 484.9 MB, free: 8.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.3421, allocations: 2.029 MB / 486.9 MB, free: 6.676 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.3422, allocations: 45.7 kB / 487 MB, free: 6.625 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007843/0.343, allocations: 1.735 MB / 488.7 MB, free: 4.883 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/0.3433, allocations: 492.1 kB / 489.2 MB, free: 4.406 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004527/0.3437, allocations: 381.1 kB / 489.6 MB, free: 4.023 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.3438, allocations: 476.8 kB / 490 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007424/0.3445, allocations: 0.5036 MB / 490.5 MB, free: 3.051 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.3457, allocations: 1.327 MB / 491.9 MB, free: 1.418 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/0.3481, allocations: 1.979 MB / 493.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.3481, allocations: 4 kB / 493.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004098/0.3522, allocations: 1.956 MB / 495.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.3522, allocations: 12 kB / 495.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.441e-05/0.3522, allocations: 23.94 kB / 495.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000484/0.3527, allocations: 142.4 kB / 496 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.3544, allocations: 386.8 kB / 496.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004/0.3584, allocations: 4.104 MB / 0.4887 GB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.3599, allocations: 72.2 kB / 0.4888 GB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.36, allocations: 76 kB / 0.4889 GB, free: 8.324 MB / 346.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.002191/0.3622, allocations: 0.9623 MB / 0.4898 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006253/0.3628, allocations: 214.8 kB / 0.49 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00371/0.3665, allocations: 1.659 MB / 0.4916 GB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.3665, allocations: 12 kB / 0.4916 GB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.3666, allocations: 12 kB / 0.4917 GB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.3666, allocations: 3.984 kB / 0.4917 GB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009835/0.3764, allocations: 4.872 MB / 0.4964 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.3764, allocations: 4 kB / 0.4964 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007488/0.3772, allocations: 154.7 kB / 0.4966 GB, free: 420 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/0.379, allocations: 0.503 MB / 0.4971 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.977e-05/0.3791, allocations: 39.98 kB / 0.4971 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/0.3932, allocations: 12.92 MB / 0.5097 GB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.3932, allocations: 4 kB / 0.5097 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/0.3987, allocations: 2.461 MB / 0.5121 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/0.4001, allocations: 294.8 kB / 0.5124 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.4004, allocations: 31.94 kB / 0.5124 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008036/0.4012, allocations: 55.95 kB / 0.5125 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003493/0.4015, allocations: 108.3 kB / 0.5126 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.734e-05/0.4016, allocations: 35.98 kB / 0.5126 GB, free: 15.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002007/0.4036, allocations: 1.119 MB / 0.5137 GB, free: 14.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4036, allocations: 0 / 0.5137 GB, free: 14.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002396/0.406, allocations: 0.5468 MB / 0.5143 GB, free: 13.72 MB / 378.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.0003888/0.4064, allocations: 160.9 kB / 0.5144 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003308/0.4097, allocations: 1.745 MB / 0.5161 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.4097, allocations: 4 kB / 0.5161 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002715/0.4124, allocations: 1.714 MB / 0.5178 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.4149, allocations: 463 kB / 0.5182 GB, free: 9.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.4266, allocations: 5.375 MB / 0.5235 GB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.429, allocations: 1.694 MB / 0.5251 GB, free: 2.434 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001546/0.4305, allocations: 326.6 kB / 0.5254 GB, free: 2.109 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.4309, allocations: 116 kB / 0.5256 GB, free: 2 MB / 378.7 MB Notification: Performance of SimCode: time 1.873e-06/0.4309, allocations: 0 / 0.5256 GB, free: 2 MB / 378.7 MB Notification: Performance of Templates: time 0.2244/0.6553, allocations: 25.52 MB / 0.5505 GB, free: 113 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.2525753289228305]