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.001526/0.001526, allocations: 104.1 kB / 16.4 MB, free: 6.5 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.428/1.428, allocations: 222.9 MB / 242.1 MB, free: 15.42 MB / 206.1 MB " [Timeout remaining time 178] 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.001632/0.001632, allocations: 191.8 kB / 294.4 MB, free: 12.71 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.04258/0.04258, allocations: 8.798 MB / 355.3 MB, free: 15.96 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.002387/0.002387, allocations: 80.06 kB / 472.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2823, allocations: 51.56 MB / 0.5119 GB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01664/0.299, allocations: 13.39 MB / 0.525 GB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009231/0.3082, allocations: 4.423 MB / 0.5293 GB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.3108, allocations: 91.62 kB / 0.5294 GB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003538/0.3144, allocations: 1.032 MB / 0.5304 GB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004621/0.319, allocations: 1.297 MB / 0.5317 GB, free: 8.781 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.002424/0.3215, allocations: 0.8596 MB / 0.5325 GB, free: 7.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005438/0.3269, allocations: 3.804 MB / 0.5362 GB, free: 4.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005364/0.3323, allocations: 3.343 MB / 0.5395 GB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003223/0.3355, allocations: 1.776 MB / 0.5412 GB, free: 14.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00359/0.3391, allocations: 2.008 MB / 0.5432 GB, free: 12.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00128/0.3405, allocations: 500 kB / 0.5437 GB, free: 12.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.3426, allocations: 0.6833 MB / 0.5443 GB, free: 11.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.3441, allocations: 1.064 MB / 0.5454 GB, free: 10.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003398/0.3475, allocations: 2.05 MB / 0.5474 GB, free: 8.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008113/0.3556, allocations: 6.42 MB / 0.5536 GB, free: 2.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3557, allocations: 0 / 0.5536 GB, free: 2.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3557, allocations: 0 / 0.5536 GB, free: 2.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001548/0.3558, allocations: 7.984 kB / 0.5537 GB, free: 2.145 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.01127/0.3671, allocations: 4.253 MB / 0.5578 GB, free: 13.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3672, allocations: 8.031 kB / 0.5578 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004024/0.3712, allocations: 0.7716 MB / 0.5586 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004908/0.3761, allocations: 2.33 MB / 0.5608 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.3764, allocations: 238.7 kB / 0.5611 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006328/0.377, allocations: 316.1 kB / 0.5614 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00887/0.3859, allocations: 4.169 MB / 0.5654 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.104e-05/0.386, allocations: 0 / 0.5654 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004169/0.3864, allocations: 132 kB / 0.5656 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/0.3866, allocations: 138.3 kB / 0.5657 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006938/0.3935, allocations: 3.499 MB / 0.5691 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02552/0.4191, allocations: 13.09 MB / 0.5819 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006508/0.4256, allocations: 5.507 MB / 0.5873 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.4276, allocations: 1.064 MB / 0.5883 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005937/0.4336, allocations: 3.029 MB / 0.5913 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/0.4337, allocations: 47.5 kB / 0.5913 GB, free: 10.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.116e-06/0.4337, allocations: 4 kB / 0.5913 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.01035/0.4441, allocations: 4.656 MB / 0.5959 GB, free: 5.305 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.4441, allocations: 60.41 kB / 0.5959 GB, free: 5.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003/0.4471, allocations: 1.602 MB / 0.5975 GB, free: 3.625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.4473, allocations: 49.64 kB / 0.5975 GB, free: 3.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.4486, allocations: 1.469 MB / 0.599 GB, free: 2.086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/0.449, allocations: 408.5 kB / 0.5994 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004782/0.4495, allocations: 275.5 kB / 0.5996 GB, free: 1.406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4497, allocations: 305.1 kB / 0.5999 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.4508, allocations: 0.5661 MB / 0.6005 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.4522, allocations: 1.059 MB / 0.6015 GB, free: 15.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/0.4549, allocations: 1.729 MB / 0.6032 GB, free: 13.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/0.4549, allocations: 4 kB / 0.6032 GB, free: 13.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003832/0.4588, allocations: 2.047 MB / 0.6052 GB, free: 11.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.4588, allocations: 15.98 kB / 0.6052 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/0.4589, allocations: 16 kB / 0.6052 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004157/0.4593, allocations: 130.5 kB / 0.6053 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.4607, allocations: 367.7 kB / 0.6057 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.4638, allocations: 3.376 MB / 0.609 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.4651, allocations: 63.97 kB / 0.6091 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.4653, allocations: 76.11 kB / 0.6091 GB, free: 6.906 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.001781/0.4671, allocations: 0.9617 MB / 0.6101 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004355/0.4675, allocations: 186.8 kB / 0.6102 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003569/0.4711, allocations: 1.809 MB / 0.612 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.4711, allocations: 12 kB / 0.612 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.4711, allocations: 4 kB / 0.612 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.4712, allocations: 3.984 kB / 0.612 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007892/0.4791, allocations: 4.346 MB / 0.6163 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.4791, allocations: 4 kB / 0.6163 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008661/0.48, allocations: 183.8 kB / 0.6165 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000874/0.4808, allocations: 313.6 kB / 0.6168 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.481, allocations: 35.98 kB / 0.6168 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008252/0.4892, allocations: 8.196 MB / 0.6248 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.4893, allocations: 7.969 kB / 0.6248 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004514/0.4938, allocations: 2.571 MB / 0.6273 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008485/0.4947, allocations: 379.8 kB / 0.6277 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004172/0.4951, allocations: 31.94 kB / 0.6277 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009429/0.4961, allocations: 51.95 kB / 0.6278 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/0.4963, allocations: 92.81 kB / 0.6278 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/0.4964, allocations: 28 kB / 0.6279 GB, free: 2.848 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002057/0.4985, allocations: 1.098 MB / 0.6289 GB, free: 1.754 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4985, allocations: 0 / 0.6289 GB, free: 1.754 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002052/0.5006, allocations: 0.5 MB / 0.6294 GB, free: 1.254 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.0003664/0.5009, allocations: 166.8 kB / 0.6296 GB, free: 1.082 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003131/0.5041, allocations: 1.718 MB / 0.6313 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.5041, allocations: 4 kB / 0.6313 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002009/0.5061, allocations: 1.223 MB / 0.6325 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.5085, allocations: 0.5001 MB / 0.633 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.5189, allocations: 5.457 MB / 0.6383 GB, free: 8.031 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002559/0.5215, allocations: 2.233 MB / 0.6405 GB, free: 5.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001409/0.5229, allocations: 375.3 kB / 0.6408 GB, free: 5.398 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.5233, allocations: 119.4 kB / 0.6409 GB, free: 5.281 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5233, allocations: 0 / 0.6409 GB, free: 5.281 MB / 462.1 MB Notification: Performance of Templates: time 0.2892/0.8125, allocations: 25.8 MB / 0.6661 GB, free: 131.8 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: 6.105375544168055]