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.001038/0.001038, allocations: 93.06 kB / 19.65 MB, free: 280 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.9963/0.9963, allocations: 177.2 MB / 200 MB, free: 5.535 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.001496/0.001496, allocations: 164.5 kB / 256.6 MB, free: 12.97 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.02284/0.02284, allocations: 6.661 MB / 319.8 MB, free: 26.52 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.242e-06/1.242e-06, allocations: 0 / 391.7 MB, free: 2.566 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.802e-05, allocations: 2.312 kB / 391.7 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01175/0.01178, allocations: 13.5 MB / 405.2 MB, free: 4.992 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009222/0.021, allocations: 4.536 MB / 409.7 MB, free: 452 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.02259, allocations: 111.3 kB / 409.8 MB, free: 340 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1591/0.1817, allocations: 1.037 MB / 410.8 MB, free: 69.58 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005125/0.1868, allocations: 1.334 MB / 412.2 MB, free: 69.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.1894, allocations: 0.9027 MB / 413.1 MB, free: 69.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006218/0.1956, allocations: 4.276 MB / 417.3 MB, free: 68.35 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003429/0.199, allocations: 1.904 MB / 419.3 MB, free: 67.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/0.2045, allocations: 2.949 MB / 422.2 MB, free: 66.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00383/0.2084, allocations: 2 MB / 424.2 MB, free: 65.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00158/0.2099, allocations: 0.5225 MB / 424.7 MB, free: 65.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.212, allocations: 0.7294 MB / 425.5 MB, free: 65.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.2132, allocations: 1.194 MB / 426.6 MB, free: 65.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002817/0.216, allocations: 1.489 MB / 428.1 MB, free: 64.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005145/0.2211, allocations: 3.57 MB / 431.7 MB, free: 62.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2211, allocations: 0 / 431.7 MB, free: 62.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2211, allocations: 0 / 431.7 MB, free: 62.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001014/0.2212, allocations: 0 / 431.7 MB, free: 62.42 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.007732/0.229, allocations: 4.706 MB / 436.4 MB, free: 58.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.229, allocations: 12.03 kB / 436.4 MB, free: 58.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003515/0.2325, allocations: 1.248 MB / 437.7 MB, free: 57.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.2356, allocations: 2.366 MB / 440 MB, free: 55.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.2358, allocations: 247.1 kB / 440.3 MB, free: 54.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003715/0.2361, allocations: 337.5 kB / 440.6 MB, free: 54.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004363/0.2405, allocations: 2.686 MB / 443.3 MB, free: 51.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.429e-05/0.2406, allocations: 3.984 kB / 443.3 MB, free: 51.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.2408, allocations: 143.6 kB / 443.4 MB, free: 51.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.2409, allocations: 162.2 kB / 443.6 MB, free: 51.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002865/0.2438, allocations: 1.257 MB / 444.9 MB, free: 50.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.2577, allocations: 11.35 MB / 456.2 MB, free: 38.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.26, allocations: 1.824 MB / 458 MB, free: 37.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000791/0.2608, allocations: 0.6362 MB / 458.7 MB, free: 36.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002728/0.2635, allocations: 2.199 MB / 460.9 MB, free: 34.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.2636, allocations: 46.39 kB / 460.9 MB, free: 34.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 2.776e-06/0.2636, allocations: 0 / 460.9 MB, free: 34.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.005046/0.2686, allocations: 3.158 MB / 464.1 MB, free: 31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.2686, allocations: 68.41 kB / 464.1 MB, free: 30.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.2698, allocations: 1.346 MB / 465.5 MB, free: 29.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.2698, allocations: 45.7 kB / 465.5 MB, free: 29.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005385/0.2704, allocations: 1.63 MB / 467.2 MB, free: 27.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.2705, allocations: 452.1 kB / 467.6 MB, free: 27.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.2708, allocations: 308.4 kB / 467.9 MB, free: 27.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.2708, allocations: 484.7 kB / 468.4 MB, free: 26.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.2712, allocations: 227.8 kB / 468.6 MB, free: 26.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.2717, allocations: 0.9768 MB / 469.6 MB, free: 25.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009679/0.2727, allocations: 1.302 MB / 470.9 MB, free: 23.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.2727, allocations: 4 kB / 470.9 MB, free: 23.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001449/0.2741, allocations: 1.369 MB / 472.2 MB, free: 22.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.2741, allocations: 12.41 kB / 472.3 MB, free: 22.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.2742, allocations: 23.94 kB / 472.3 MB, free: 22.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002379/0.2744, allocations: 114.6 kB / 472.4 MB, free: 22.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007648/0.2752, allocations: 391.6 kB / 472.8 MB, free: 21.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.2766, allocations: 3.914 MB / 476.7 MB, free: 17.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/0.2772, allocations: 71.92 kB / 476.8 MB, free: 17.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/0.2773, allocations: 68 kB / 476.8 MB, free: 17.53 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.0006245/0.2779, allocations: 258.9 kB / 477.1 MB, free: 17.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.2781, allocations: 214.9 kB / 477.3 MB, free: 17.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.2795, allocations: 1.171 MB / 478.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.2796, allocations: 16 kB / 478.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2796, allocations: 4 kB / 478.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2796, allocations: 3.984 kB / 478.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.2834, allocations: 3.37 MB / 481.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2834, allocations: 4 kB / 481.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.2838, allocations: 154.8 kB / 482 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007065/0.2845, allocations: 398.5 kB / 482.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.2846, allocations: 35.98 kB / 482.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004735/0.2893, allocations: 11.44 MB / 493.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.2893, allocations: 7.562 kB / 493.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.2916, allocations: 1.592 MB / 495.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/0.2921, allocations: 298.9 kB / 495.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.2923, allocations: 35.94 kB / 495.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.2927, allocations: 63.95 kB / 495.9 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002547/0.2929, allocations: 104.3 kB / 496 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.293, allocations: 32 kB / 496 MB, free: 13.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001279/0.2943, allocations: 0.7637 MB / 496.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2943, allocations: 0 / 496.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001945/0.2962, allocations: 0.5507 MB / 497.3 MB, free: 12.44 MB / 346.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.0003089/0.2965, allocations: 158.7 kB / 497.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.2984, allocations: 1.203 MB / 498.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2984, allocations: 0 / 498.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.2999, allocations: 1.474 MB / 0.4884 GB, free: 9.555 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.3014, allocations: 467.1 kB / 0.4889 GB, free: 9.121 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008784/0.3102, allocations: 5.007 MB / 0.4937 GB, free: 4.051 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008489/0.311, allocations: 0.8067 MB / 0.4945 GB, free: 3.227 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001053/0.3121, allocations: 326.6 kB / 0.4948 GB, free: 2.902 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.3124, allocations: 120.5 kB / 0.495 GB, free: 2.785 MB / 346.7 MB Notification: Performance of SimCode: time 1.342e-06/0.3124, allocations: 0 / 0.495 GB, free: 2.785 MB / 346.7 MB Notification: Performance of Templates: time 0.0464/0.3588, allocations: 26.96 MB / 0.5213 GB, free: 8.289 MB / 378.7 MB " [Timeout remaining time 660] 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: 3.81149814883247]