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.00177/0.00177, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.425/1.425, allocations: 177.1 MB / 199.4 MB, free: 8.457 MB / 190.1 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.001708/0.001708, allocations: 162.7 kB / 256 MB, free: 4.332 MB / 238.1 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.659 MB / 319 MB, free: 5.395 MB / 302.1 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.092e-06/1.092e-06, allocations: 0 / 445.9 MB, free: 25.19 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.921e-05, allocations: 12.61 kB / 445.9 MB, free: 25.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.009785/0.009804, allocations: 12.28 MB / 458.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006449/0.01625, allocations: 4.458 MB / 462.7 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.01739, allocations: 111.3 kB / 462.8 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.01928, allocations: 1.032 MB / 463.8 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.02168, allocations: 1.335 MB / 465.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.02319, allocations: 0.9109 MB / 466.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00277/0.02596, allocations: 4.041 MB / 470.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.02813, allocations: 1.794 MB / 471.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003918/0.03205, allocations: 2.702 MB / 474.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003193/0.03524, allocations: 1.699 MB / 476.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000809/0.03605, allocations: 496 kB / 476.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.03747, allocations: 0.6987 MB / 477.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.03861, allocations: 1.098 MB / 478.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.04051, allocations: 1.384 MB / 480 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008326/0.04883, allocations: 6.505 MB / 486.5 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.04884, allocations: 0 / 486.5 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.04884, allocations: 0 / 486.5 MB, free: 440 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001221/0.04896, allocations: 0 / 486.5 MB, free: 440 kB / 350.1 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.1681/0.217, allocations: 4.179 MB / 490.6 MB, free: 47.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2171, allocations: 12.98 kB / 490.6 MB, free: 47.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004058/0.2211, allocations: 0.7531 MB / 491.4 MB, free: 47.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00432/0.2255, allocations: 2.266 MB / 493.7 MB, free: 46.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.2256, allocations: 233.8 kB / 493.9 MB, free: 45.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004518/0.2261, allocations: 315.8 kB / 494.2 MB, free: 45.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008815/0.2349, allocations: 4.291 MB / 498.5 MB, free: 44.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.636e-05/0.235, allocations: 11.52 kB / 498.5 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002841/0.2352, allocations: 129.8 kB / 498.6 MB, free: 43.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001525/0.2354, allocations: 142.6 kB / 498.8 MB, free: 43.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005919/0.2413, allocations: 3.508 MB / 0.4905 GB, free: 42.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/0.2572, allocations: 11.23 MB / 0.5015 GB, free: 31.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/0.2611, allocations: 2.142 MB / 0.5036 GB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.2626, allocations: 0.9968 MB / 0.5045 GB, free: 28.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004582/0.2672, allocations: 2.529 MB / 0.507 GB, free: 25.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.2672, allocations: 47.5 kB / 0.5071 GB, free: 25.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=107): time 2.836e-06/0.2672, allocations: 0 / 0.5071 GB, free: 25.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.008231/0.2754, allocations: 4.125 MB / 0.5111 GB, free: 21.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.2755, allocations: 68.34 kB / 0.5111 GB, free: 21.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.2775, allocations: 1.45 MB / 0.5126 GB, free: 20.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-05/0.2776, allocations: 45.7 kB / 0.5126 GB, free: 20.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000732/0.2783, allocations: 1.468 MB / 0.514 GB, free: 18.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.2786, allocations: 407.8 kB / 0.5144 GB, free: 18.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003773/0.279, allocations: 271.5 kB / 0.5147 GB, free: 18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.279, allocations: 305.1 kB / 0.515 GB, free: 17.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008671/0.2799, allocations: 0.5738 MB / 0.5155 GB, free: 17.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.2809, allocations: 1.084 MB / 0.5166 GB, free: 15.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.2828, allocations: 1.737 MB / 0.5183 GB, free: 13.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.2828, allocations: 8 kB / 0.5183 GB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002927/0.2858, allocations: 1.963 MB / 0.5202 GB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.2858, allocations: 12 kB / 0.5202 GB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.2858, allocations: 20.36 kB / 0.5203 GB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003743/0.2862, allocations: 134.5 kB / 0.5204 GB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.2875, allocations: 363.4 kB / 0.5207 GB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.2894, allocations: 3.106 MB / 0.5238 GB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.2907, allocations: 76.14 kB / 0.5238 GB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.2908, allocations: 67.98 kB / 0.5239 GB, free: 7.902 MB / 350.1 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.001465/0.2923, allocations: 0.9667 MB / 0.5248 GB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003822/0.2927, allocations: 166.9 kB / 0.525 GB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002985/0.2957, allocations: 1.631 MB / 0.5266 GB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.2957, allocations: 12 kB / 0.5266 GB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.2957, allocations: 7.938 kB / 0.5266 GB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.2957, allocations: 3.984 kB / 0.5266 GB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00614/0.3018, allocations: 3.518 MB / 0.5301 GB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.3018, allocations: 8.125 kB / 0.5301 GB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008322/0.3027, allocations: 179.8 kB / 0.5302 GB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007977/0.3035, allocations: 315.1 kB / 0.5305 GB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.609e-05/0.3036, allocations: 31.98 kB / 0.5306 GB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008166/0.3117, allocations: 7.625 MB / 0.538 GB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3117, allocations: 0 / 0.538 GB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004851/0.3166, allocations: 2.4 MB / 0.5404 GB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008781/0.3175, allocations: 290.8 kB / 0.5406 GB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004072/0.3179, allocations: 31.92 kB / 0.5407 GB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009809/0.3188, allocations: 51.97 kB / 0.5407 GB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/0.3191, allocations: 92.77 kB / 0.5408 GB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.431e-05/0.3192, allocations: 40.11 kB / 0.5408 GB, free: 6.016 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001819/0.321, allocations: 0.9621 MB / 0.5418 GB, free: 5.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.321, allocations: 0 / 0.5418 GB, free: 5.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00213/0.3232, allocations: 0.5117 MB / 0.5423 GB, free: 4.543 MB / 366.1 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.0003773/0.3235, allocations: 154.9 kB / 0.5424 GB, free: 4.387 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003122/0.3267, allocations: 1.576 MB / 0.544 GB, free: 2.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.3267, allocations: 4 kB / 0.544 GB, free: 2.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.3288, allocations: 1.172 MB / 0.5451 GB, free: 1.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/0.3315, allocations: 426.4 kB / 0.5455 GB, free: 1.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.3428, allocations: 5.244 MB / 0.5506 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002636/0.3454, allocations: 1.684 MB / 0.5523 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001432/0.3469, allocations: 354 kB / 0.5526 GB, free: 9.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004747/0.3474, allocations: 120.5 kB / 0.5527 GB, free: 9.664 MB / 382.1 MB Notification: Performance of SimCode: time 1.894e-06/0.3474, allocations: 0 / 0.5527 GB, free: 9.664 MB / 382.1 MB Notification: Performance of Templates: time 0.0478/0.3952, allocations: 23.32 MB / 0.5755 GB, free: 2.719 MB / 398.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.526376191526651] Failed to read output from testmodel.py, exit status != 0: 0.4038764648139477 0.419731346 0.367770767 Calling exit ...