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.001459/0.001459, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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 0.9645/0.9645, allocations: 177.2 MB / 200.3 MB, free: 5.684 MB / 186.7 MB " [Timeout remaining time 179] 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.001647/0.001647, allocations: 160.6 kB / 257 MB, free: 12.97 MB / 250.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.02551/0.02551, allocations: 6.65 MB / 266.9 MB, free: 3.223 MB / 250.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.613e-06/1.613e-06, allocations: 0 / 285.7 MB, free: 436 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.413e-05, allocations: 5.266 kB / 285.7 MB, free: 432 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.11/0.11, allocations: 13.46 MB / 299.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008042/0.118, allocations: 4.781 MB / 303.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.12, allocations: 111 kB / 304 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.122, allocations: 1.073 MB / 305.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002938/0.1249, allocations: 1.35 MB / 306.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.1266, allocations: 0.8967 MB / 307.4 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003214/0.1298, allocations: 4.058 MB / 311.4 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.1317, allocations: 1.853 MB / 313.3 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.1344, allocations: 2.737 MB / 316 MB, free: 164 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.1367, allocations: 1.89 MB / 317.9 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001198/0.1379, allocations: 499.9 kB / 318.4 MB, free: 13.78 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.1395, allocations: 0.7027 MB / 319.1 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006657/0.1402, allocations: 1.114 MB / 320.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.1419, allocations: 1.399 MB / 321.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004086/0.146, allocations: 3.333 MB / 324.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.146, allocations: 0 / 324.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.146, allocations: 0 / 324.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001224/0.1462, allocations: 0 / 324.9 MB, free: 7.211 MB / 282.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.007364/0.1535, allocations: 4.093 MB / 329 MB, free: 3.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1536, allocations: 12.03 kB / 329 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003642/0.1572, allocations: 1.026 MB / 330.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.16, allocations: 1.415 MB / 331.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004097/0.1604, allocations: 239.5 kB / 331.7 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004614/0.1609, allocations: 324.3 kB / 332 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003797/0.1647, allocations: 2.362 MB / 334.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.816e-05/0.1648, allocations: 3.938 kB / 334.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.165, allocations: 128 kB / 334.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/0.1652, allocations: 142.3 kB / 334.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.1672, allocations: 0.9185 MB / 335.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.1807, allocations: 8.464 MB / 344.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.183, allocations: 1.4 MB / 345.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.184, allocations: 477 kB / 345.9 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003277/0.1873, allocations: 1.583 MB / 347.5 MB, free: 84 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.1873, allocations: 47.56 kB / 347.5 MB, free: 28 kB / 298.7 MB Notification: Performance of pre-optimization done (n=107): time 3.246e-06/0.1873, allocations: 0 / 347.5 MB, free: 28 kB / 298.7 MB Notification: Performance of matching and sorting (n=110): time 0.004505/0.1918, allocations: 2.112 MB / 349.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1919, allocations: 60.41 kB / 349.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.193, allocations: 1.091 MB / 350.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.193, allocations: 41.7 kB / 350.8 MB, free: 12.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006543/0.1937, allocations: 1.279 MB / 352.1 MB, free: 11.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.1939, allocations: 408.5 kB / 352.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/0.1943, allocations: 267.4 kB / 352.8 MB, free: 10.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003335/0.1946, allocations: 301.1 kB / 353.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.1949, allocations: 170.7 kB / 353.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.1954, allocations: 0.662 MB / 353.9 MB, free: 9.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/0.1964, allocations: 0.9574 MB / 354.9 MB, free: 8.164 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.1964, allocations: 4 kB / 354.9 MB, free: 8.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.001403/0.1978, allocations: 0.9497 MB / 355.8 MB, free: 7.195 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.1978, allocations: 12 kB / 355.8 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.1979, allocations: 16 kB / 355.8 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002441/0.1981, allocations: 102.8 kB / 355.9 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.1992, allocations: 399.4 kB / 356.3 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.2009, allocations: 2.767 MB / 359.1 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007152/0.2016, allocations: 52 kB / 359.2 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.528e-05/0.2017, allocations: 55.98 kB / 359.2 MB, free: 3.613 MB / 314.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.0005926/0.2023, allocations: 216.1 kB / 359.4 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.2025, allocations: 139.8 kB / 359.6 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.2041, allocations: 0.8088 MB / 360.4 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.629e-06/0.2041, allocations: 12 kB / 360.4 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2041, allocations: 4 kB / 360.4 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.2041, allocations: 7.984 kB / 360.4 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/0.2072, allocations: 1.89 MB / 362.3 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2072, allocations: 0 / 362.3 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/0.2078, allocations: 191.9 kB / 362.5 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005665/0.2084, allocations: 231.9 kB / 362.7 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.594e-05/0.2084, allocations: 28.03 kB / 362.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004392/0.2128, allocations: 6.278 MB / 369 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2128, allocations: 11.88 kB / 369 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.2142, allocations: 1.114 MB / 370.1 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003392/0.2145, allocations: 167 kB / 370.3 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.2146, allocations: 35.98 kB / 370.3 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.215, allocations: 39.98 kB / 370.4 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.2151, allocations: 92.7 kB / 370.5 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.2152, allocations: 27.98 kB / 370.5 MB, free: 7.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004669/0.2156, allocations: 0.5288 MB / 371 MB, free: 7.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2156, allocations: 0 / 371 MB, free: 7.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001261/0.2169, allocations: 0.5039 MB / 371.5 MB, free: 6.785 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.0002479/0.2171, allocations: 157.1 kB / 371.7 MB, free: 6.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.2182, allocations: 0.8906 MB / 372.6 MB, free: 5.711 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.104e-05/0.2182, allocations: 23.75 kB / 372.6 MB, free: 5.688 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007371/0.2189, allocations: 0.8822 MB / 373.5 MB, free: 4.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.2199, allocations: 436 kB / 373.9 MB, free: 4.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005975/0.2259, allocations: 4.575 MB / 378.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.2264, allocations: 0.6033 MB / 379.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000655/0.2271, allocations: 234.2 kB / 379.3 MB, free: 14.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000678/0.2278, allocations: 431.1 kB / 379.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of SimCode: time 1.743e-06/0.2278, allocations: 3.938 kB / 379.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of Templates: time 0.03509/0.2628, allocations: 25.49 MB / 405.2 MB, free: 5.34 MB / 362.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.303388605825603]