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.001349/0.001349, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.457/1.457, allocations: 177.2 MB / 200.1 MB, free: 9.242 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.00238/0.00238, allocations: 161.5 kB / 256.6 MB, free: 0.7578 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.03879/0.03879, allocations: 6.658 MB / 319.6 MB, free: 12.07 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004407/0.004407, allocations: 91.88 kB / 446.4 MB, free: 2.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3307, allocations: 55.58 MB / 0.4903 GB, free: 76.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01669/0.3474, allocations: 12.26 MB / 0.5022 GB, free: 68.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.3577, allocations: 4.453 MB / 0.5066 GB, free: 65.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002937/0.3606, allocations: 109.7 kB / 0.5067 GB, free: 65.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003968/0.3646, allocations: 1.035 MB / 0.5077 GB, free: 64.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005879/0.3705, allocations: 1.301 MB / 0.509 GB, free: 63.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.3735, allocations: 0.8963 MB / 0.5098 GB, free: 63.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006248/0.3797, allocations: 3.854 MB / 0.5136 GB, free: 61.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003356/0.3831, allocations: 1.806 MB / 0.5154 GB, free: 60.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/0.3863, allocations: 1.842 MB / 0.5172 GB, free: 59.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004354/0.3907, allocations: 2.005 MB / 0.5191 GB, free: 58.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.3917, allocations: 496 kB / 0.5196 GB, free: 58.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.3938, allocations: 0.6922 MB / 0.5203 GB, free: 58.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009555/0.3948, allocations: 1.072 MB / 0.5213 GB, free: 57.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00248/0.3973, allocations: 1.629 MB / 0.5229 GB, free: 56.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008359/0.4056, allocations: 6.483 MB / 0.5292 GB, free: 54.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4056, allocations: 0 / 0.5292 GB, free: 54.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4056, allocations: 0 / 0.5292 GB, free: 54.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001437/0.4058, allocations: 1.984 kB / 0.5292 GB, free: 54.3 MB / 446.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.01805/0.4238, allocations: 4.219 MB / 0.5334 GB, free: 52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4239, allocations: 9.625 kB / 0.5334 GB, free: 52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00751/0.4314, allocations: 0.7463 MB / 0.5341 GB, free: 51.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006241/0.4376, allocations: 2.256 MB / 0.5363 GB, free: 50.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000244/0.4379, allocations: 241.6 kB / 0.5365 GB, free: 50.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009896/0.4389, allocations: 319.8 kB / 0.5368 GB, free: 50.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.4496, allocations: 4.294 MB / 0.541 GB, free: 48.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/0.4497, allocations: 9.234 kB / 0.541 GB, free: 48.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003822/0.45, allocations: 126.4 kB / 0.5412 GB, free: 48.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/0.4502, allocations: 141.6 kB / 0.5413 GB, free: 48.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007121/0.4574, allocations: 3.505 MB / 0.5447 GB, free: 46.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/0.4779, allocations: 11.24 MB / 0.5557 GB, free: 39.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/0.4821, allocations: 2.143 MB / 0.5578 GB, free: 38.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.4838, allocations: 0.9908 MB / 0.5588 GB, free: 37.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005063/0.4888, allocations: 2.542 MB / 0.5612 GB, free: 35.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.4889, allocations: 48.22 kB / 0.5613 GB, free: 35.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=107): time 3.206e-06/0.4889, allocations: 3.938 kB / 0.5613 GB, free: 35.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=110): time 0.008351/0.4972, allocations: 4.118 MB / 0.5653 GB, free: 32.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.4973, allocations: 60.41 kB / 0.5654 GB, free: 32.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.4989, allocations: 1.446 MB / 0.5668 GB, free: 30.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.148e-05/0.499, allocations: 49.7 kB / 0.5668 GB, free: 30.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/0.4996, allocations: 1.476 MB / 0.5683 GB, free: 29.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.4998, allocations: 416.5 kB / 0.5687 GB, free: 28.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.5002, allocations: 271.5 kB / 0.5689 GB, free: 28.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.235e-05/0.5002, allocations: 309.1 kB / 0.5692 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008528/0.5011, allocations: 0.57 MB / 0.5698 GB, free: 27.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.5021, allocations: 1.084 MB / 0.5708 GB, free: 26.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.5041, allocations: 1.733 MB / 0.5725 GB, free: 24.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.5041, allocations: 4 kB / 0.5725 GB, free: 24.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002979/0.5071, allocations: 1.967 MB / 0.5744 GB, free: 22.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.5071, allocations: 14.19 kB / 0.5745 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.5071, allocations: 16 kB / 0.5745 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/0.5075, allocations: 130.5 kB / 0.5746 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.5088, allocations: 371.8 kB / 0.575 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.5108, allocations: 3.116 MB / 0.578 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.5121, allocations: 71.92 kB / 0.5781 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.5122, allocations: 67.98 kB / 0.5781 GB, free: 18.47 MB / 446.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.001619/0.5139, allocations: 0.9581 MB / 0.5791 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/0.5141, allocations: 166.9 kB / 0.5792 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002642/0.5168, allocations: 1.639 MB / 0.5808 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.5168, allocations: 12 kB / 0.5808 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5168, allocations: 4 kB / 0.5808 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.5168, allocations: 4.109 kB / 0.5808 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005459/0.5223, allocations: 3.534 MB / 0.5843 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.5223, allocations: 4 kB / 0.5843 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000816/0.5231, allocations: 183.8 kB / 0.5845 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007605/0.5239, allocations: 311.3 kB / 0.5848 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.921e-05/0.5239, allocations: 31.98 kB / 0.5848 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005278/0.5292, allocations: 7.626 MB / 0.5923 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5292, allocations: 0 / 0.5923 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003632/0.5328, allocations: 2.397 MB / 0.5946 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007577/0.5336, allocations: 286.8 kB / 0.5949 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.5338, allocations: 27.98 kB / 0.5949 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007638/0.5346, allocations: 55.97 kB / 0.5949 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.5348, allocations: 100.7 kB / 0.595 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.574e-05/0.5348, allocations: 28 kB / 0.5951 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00133/0.5362, allocations: 0.966 MB / 0.596 GB, free: 15.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5362, allocations: 0 / 0.596 GB, free: 15.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00199/0.5382, allocations: 0.5155 MB / 0.5965 GB, free: 15.08 MB / 462.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.0003574/0.5385, allocations: 147.2 kB / 0.5967 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003069/0.5416, allocations: 1.587 MB / 0.5982 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5416, allocations: 0 / 0.5982 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.5436, allocations: 1.181 MB / 0.5994 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/0.5457, allocations: 436.2 kB / 0.5998 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.5562, allocations: 5.426 MB / 0.6051 GB, free: 6.164 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002178/0.5583, allocations: 1.684 MB / 0.6067 GB, free: 4.453 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00127/0.5596, allocations: 358 kB / 0.6071 GB, free: 4.098 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.5599, allocations: 116.5 kB / 0.6072 GB, free: 3.98 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5599, allocations: 3.938 kB / 0.6072 GB, free: 3.977 MB / 462.1 MB Notification: Performance of Templates: time 0.04891/0.6088, allocations: 23.51 MB / 0.6301 GB, free: 12.8 MB / 494.1 MB " [Timeout remaining time 659] 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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8906142769847065] Failed to read output from testmodel.py, exit status != 0: 0.6217867439845577 0.636627238 0.227200335 Calling exit ...