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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 242.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 186.4 kB / 295 MB, free: 12.64 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0383/0.0383, allocations: 8.798 MB / 356 MB, free: 15.89 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00216/0.00216, allocations: 87.84 kB / 473.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2155, allocations: 51.55 MB / 0.5126 GB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01502/0.2306, allocations: 13.4 MB / 0.5257 GB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00841/0.239, allocations: 4.423 MB / 0.53 GB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.2412, allocations: 83.69 kB / 0.5301 GB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002614/0.2439, allocations: 1.033 MB / 0.5311 GB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003717/0.2476, allocations: 1.297 MB / 0.5323 GB, free: 8.742 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/SynchronousMachines/SMR_Inverter.mo:88:3-88:33:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.2496, allocations: 0.8653 MB / 0.5332 GB, free: 7.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004623/0.2543, allocations: 3.798 MB / 0.5369 GB, free: 4.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003693/0.258, allocations: 3.346 MB / 0.5402 GB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.2602, allocations: 1.776 MB / 0.5419 GB, free: 14.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/0.2627, allocations: 2 MB / 0.5438 GB, free: 12.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006269/0.2633, allocations: 500 kB / 0.5443 GB, free: 12.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.2646, allocations: 0.6832 MB / 0.545 GB, free: 11.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009466/0.2655, allocations: 1.075 MB / 0.546 GB, free: 10.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002262/0.2678, allocations: 2.034 MB / 0.548 GB, free: 8.566 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006831/0.2747, allocations: 6.431 MB / 0.5543 GB, free: 2.113 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2747, allocations: 0 / 0.5543 GB, free: 2.113 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2747, allocations: 4 kB / 0.5543 GB, free: 2.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.835e-05/0.2748, allocations: 0 / 0.5543 GB, free: 2.109 MB / 366.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.009272/0.2841, allocations: 4.265 MB / 0.5585 GB, free: 13.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2841, allocations: 8.031 kB / 0.5585 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003655/0.2878, allocations: 0.7638 MB / 0.5592 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/0.2916, allocations: 2.33 MB / 0.5615 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.2918, allocations: 230.7 kB / 0.5617 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000463/0.2922, allocations: 332 kB / 0.562 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006673/0.2989, allocations: 4.157 MB / 0.5661 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.444e-05/0.299, allocations: 8 kB / 0.5661 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.2993, allocations: 128 kB / 0.5662 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001467/0.2994, allocations: 142.3 kB / 0.5664 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005739/0.3052, allocations: 3.507 MB / 0.5698 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01869/0.3239, allocations: 13.08 MB / 0.5826 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005789/0.3297, allocations: 5.498 MB / 0.5879 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/0.3315, allocations: 1.06 MB / 0.589 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004818/0.3363, allocations: 3.041 MB / 0.5919 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.369e-05/0.3364, allocations: 51.5 kB / 0.592 GB, free: 10.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 2.395e-06/0.3364, allocations: 3.938 kB / 0.592 GB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.008757/0.3452, allocations: 4.645 MB / 0.5965 GB, free: 5.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.3453, allocations: 72.39 kB / 0.5966 GB, free: 5.188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.3475, allocations: 1.594 MB / 0.5981 GB, free: 3.586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.567e-05/0.3476, allocations: 53.64 kB / 0.5982 GB, free: 3.527 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.3487, allocations: 1.465 MB / 0.5996 GB, free: 2.047 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/0.3491, allocations: 408.5 kB / 0.6 GB, free: 1.645 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004047/0.3495, allocations: 271.5 kB / 0.6003 GB, free: 1.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3496, allocations: 309.1 kB / 0.6006 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000976/0.3506, allocations: 0.5738 MB / 0.6011 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.352, allocations: 1.051 MB / 0.6022 GB, free: 15.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.3544, allocations: 1.729 MB / 0.6038 GB, free: 13.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3544, allocations: 4 kB / 0.6039 GB, free: 13.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003318/0.3577, allocations: 2.05 MB / 0.6059 GB, free: 11.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3578, allocations: 14.34 kB / 0.6059 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.3578, allocations: 16 kB / 0.6059 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003666/0.3582, allocations: 138.9 kB / 0.606 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.3595, allocations: 359.4 kB / 0.6064 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.3623, allocations: 3.384 MB / 0.6097 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.3634, allocations: 63.97 kB / 0.6097 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.3635, allocations: 67.98 kB / 0.6098 GB, free: 6.871 MB / 430.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.001729/0.3652, allocations: 0.9677 MB / 0.6107 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.3655, allocations: 187 kB / 0.6109 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/0.3687, allocations: 1.809 MB / 0.6127 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3687, allocations: 12 kB / 0.6127 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.3688, allocations: 4 kB / 0.6127 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.3688, allocations: 7.984 kB / 0.6127 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00654/0.3753, allocations: 4.346 MB / 0.6169 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.3754, allocations: 0 / 0.6169 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008654/0.3762, allocations: 184 kB / 0.6171 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000824/0.3771, allocations: 313.6 kB / 0.6174 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.735e-05/0.3772, allocations: 31.92 kB / 0.6175 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007968/0.3851, allocations: 8.2 MB / 0.6255 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3852, allocations: 0 / 0.6255 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004289/0.3895, allocations: 2.583 MB / 0.628 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007517/0.3902, allocations: 375.8 kB / 0.6283 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000273/0.3905, allocations: 35.92 kB / 0.6284 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007599/0.3913, allocations: 51.97 kB / 0.6284 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.3915, allocations: 80.88 kB / 0.6285 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/0.3916, allocations: 35.98 kB / 0.6285 GB, free: 2.805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001637/0.3932, allocations: 1.091 MB / 0.6296 GB, free: 1.719 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3932, allocations: 4 kB / 0.6296 GB, free: 1.715 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001712/0.395, allocations: 0.5078 MB / 0.6301 GB, free: 1.207 MB / 446.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.0003071/0.3953, allocations: 162.9 kB / 0.6303 GB, free: 1.039 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002782/0.3981, allocations: 1.718 MB / 0.6319 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3981, allocations: 4.125 kB / 0.6319 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001882/0.4, allocations: 1.223 MB / 0.6331 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.402, allocations: 0.4972 MB / 0.6336 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008687/0.4107, allocations: 5.425 MB / 0.6389 GB, free: 8.016 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/0.4127, allocations: 2.179 MB / 0.641 GB, free: 5.809 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.4132, allocations: 139.3 kB / 0.6412 GB, free: 5.672 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4132, allocations: 0 / 0.6412 GB, free: 5.672 MB / 462.1 MB Notification: Performance of Templates: time 0.2411/0.6542, allocations: 90.33 MB / 0.7294 GB, free: 72.37 MB / 478.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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.791599869029596] Failed to read output from testmodel.py, exit status != 0: 0.6595802058000118 0.6674399950000001 0.39114963 Calling exit ...