Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.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.001877/0.001877, allocations: 93.47 kB / 19.44 MB, free: 332 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.493/1.493, allocations: 177.1 MB / 199.7 MB, free: 4.801 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.00244/0.00244, allocations: 175.2 kB / 256.3 MB, free: 368 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.04569/0.04569, allocations: 6.65 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.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter") translateModel(HanserModelica.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 390.9 MB, free: 58.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.976e-05, allocations: 2.969 kB / 390.9 MB, free: 58.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.012/0.01203, allocations: 13.63 MB / 404.6 MB, free: 44.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008521/0.02055, allocations: 4.602 MB / 409.2 MB, free: 40.33 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.02313, allocations: 111.3 kB / 409.3 MB, free: 40.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.02617, allocations: 1.048 MB / 410.3 MB, free: 39.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00476/0.03093, allocations: 1.343 MB / 411.7 MB, free: 37.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.03331, allocations: 0.9104 MB / 412.6 MB, free: 36.9 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004226/0.03754, allocations: 4.041 MB / 416.6 MB, free: 32.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003219/0.04076, allocations: 1.81 MB / 418.4 MB, free: 30.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00404/0.0448, allocations: 2.737 MB / 421.2 MB, free: 28.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.04711, allocations: 1.859 MB / 423 MB, free: 26.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006374/0.04775, allocations: 500 kB / 423.5 MB, free: 25.87 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.04911, allocations: 0.6948 MB / 424.2 MB, free: 25.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006496/0.04976, allocations: 1.114 MB / 425.3 MB, free: 24.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.0513, allocations: 1.411 MB / 426.7 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005565/0.05686, allocations: 6.54 MB / 433.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.05687, allocations: 0 / 433.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.05687, allocations: 4 kB / 433.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001373/0.05701, allocations: 0 / 433.3 MB, free: 16.08 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.009815/0.06682, allocations: 4.8 MB / 438.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.06687, allocations: 15.98 kB / 438.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004194/0.07106, allocations: 1.154 MB / 439.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00381/0.07487, allocations: 2.241 MB / 441.5 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.07499, allocations: 242.7 kB / 441.7 MB, free: 7.516 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004143/0.0754, allocations: 312.3 kB / 442 MB, free: 7.211 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005994/0.0814, allocations: 4.373 MB / 446.4 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.425e-05/0.08147, allocations: 11.89 kB / 446.4 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/0.08172, allocations: 124 kB / 446.5 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.905e-05/0.08182, allocations: 146.3 kB / 446.7 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004784/0.0866, allocations: 3.117 MB / 449.8 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1581/0.2447, allocations: 19.79 MB / 469.6 MB, free: 68.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005572/0.2503, allocations: 2.026 MB / 471.6 MB, free: 68.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.2523, allocations: 0.9334 MB / 472.5 MB, free: 68.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006371/0.2587, allocations: 2.7 MB / 475.2 MB, free: 67.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.2587, allocations: 50.48 kB / 475.3 MB, free: 67.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=107): time 4.348e-06/0.2587, allocations: 0 / 475.3 MB, free: 67.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=110): time 0.008893/0.2676, allocations: 3.714 MB / 479 MB, free: 65.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2677, allocations: 63.78 kB / 479.1 MB, free: 65.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.2699, allocations: 1.889 MB / 481 MB, free: 64.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.574e-05/0.27, allocations: 46.52 kB / 481 MB, free: 64.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007228/0.2707, allocations: 1.659 MB / 482.7 MB, free: 63.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.271, allocations: 457.1 kB / 483.1 MB, free: 63.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/0.2714, allocations: 373 kB / 483.5 MB, free: 62.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.928e-05/0.2714, allocations: 476.8 kB / 483.9 MB, free: 62.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006803/0.2721, allocations: 464.7 kB / 484.4 MB, free: 62.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009227/0.273, allocations: 1.248 MB / 485.6 MB, free: 61.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.2747, allocations: 1.821 MB / 487.5 MB, free: 59.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.2747, allocations: 7.375 kB / 487.5 MB, free: 59.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002623/0.2773, allocations: 1.818 MB / 489.3 MB, free: 58.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2774, allocations: 11.91 kB / 489.3 MB, free: 58.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.2774, allocations: 15.84 kB / 489.3 MB, free: 58.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003639/0.2777, allocations: 144.3 kB / 489.5 MB, free: 58.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.279, allocations: 361.8 kB / 489.8 MB, free: 58.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.2809, allocations: 4.108 MB / 493.9 MB, free: 54.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.282, allocations: 64.75 kB / 494 MB, free: 54.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.11e-05/0.2821, allocations: 71.23 kB / 494.1 MB, free: 54.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (185): * Single equations (assignments): 182 * 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.001163/0.2832, allocations: 0.8941 MB / 494.9 MB, free: 53.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.2835, allocations: 199 kB / 495.1 MB, free: 53.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.2859, allocations: 1.447 MB / 496.6 MB, free: 51.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.2859, allocations: 12 kB / 496.6 MB, free: 51.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2859, allocations: 4 kB / 496.6 MB, free: 51.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.286, allocations: 7.969 kB / 496.6 MB, free: 51.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006425/0.2924, allocations: 4.388 MB / 0.4893 GB, free: 47.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2924, allocations: 4 kB / 0.4893 GB, free: 47.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008011/0.2932, allocations: 180 kB / 0.4894 GB, free: 47.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00092/0.2941, allocations: 347.7 kB / 0.4898 GB, free: 46.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.887e-05/0.2942, allocations: 35.92 kB / 0.4898 GB, free: 46.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005297/0.2995, allocations: 9.801 MB / 0.4994 GB, free: 36.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2995, allocations: 0 / 0.4994 GB, free: 36.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/0.3026, allocations: 2.188 MB / 0.5015 GB, free: 34.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006614/0.3033, allocations: 278.8 kB / 0.5018 GB, free: 34.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.3034, allocations: 24.25 kB / 0.5018 GB, free: 34.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/0.3041, allocations: 59.95 kB / 0.5019 GB, free: 33.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.3043, allocations: 88.83 kB / 0.5019 GB, free: 33.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/0.3044, allocations: 35.16 kB / 0.502 GB, free: 33.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001245/0.3056, allocations: 1.079 MB / 0.503 GB, free: 32.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3056, allocations: 0 / 0.503 GB, free: 32.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001729/0.3074, allocations: 0.5078 MB / 0.5035 GB, free: 32.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smr.inertiaRotor.w,smr.stator.zeroInductor.i0,smr.stator.core.Phi.re,smr.stator.core.Phi.im,smr.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].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 (86): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,1,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.0002702/0.3076, allocations: 155.5 kB / 0.5037 GB, free: 32.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.3097, allocations: 1.635 MB / 0.5053 GB, free: 30.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3097, allocations: 0 / 0.5053 GB, free: 30.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.3111, allocations: 1.406 MB / 0.5066 GB, free: 28.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.3129, allocations: 438.4 kB / 0.5071 GB, free: 28.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007032/0.3199, allocations: 5.109 MB / 0.512 GB, free: 23.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.3211, allocations: 1.578 MB / 0.5136 GB, free: 21.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009756/0.3221, allocations: 318 kB / 0.5139 GB, free: 21.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.3224, allocations: 116.5 kB / 0.514 GB, free: 21.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3224, allocations: 0 / 0.514 GB, free: 21.34 MB / 330.7 MB Notification: Performance of Templates: time 0.03407/0.3564, allocations: 23.45 MB / 0.5369 GB, free: 14.26 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.66294203302823]