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.0008672/0.0008672, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9152/0.9152, allocations: 177.1 MB / 200.3 MB, free: 5.676 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.00111/0.00111, allocations: 163.2 kB / 257 MB, free: 12.96 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.02404/0.02404, allocations: 6.664 MB / 266.9 MB, free: 3.215 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.292e-06/1.292e-06, allocations: 0 / 285.7 MB, free: 472 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.327e-05, allocations: 6.25 kB / 285.7 MB, free: 464 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.1129/0.1129, allocations: 13.41 MB / 299.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00703/0.1199, allocations: 4.772 MB / 303.9 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.1211, allocations: 110.7 kB / 304 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.1228, allocations: 1.073 MB / 305 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.1248, allocations: 1.359 MB / 306.4 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.1259, allocations: 0.9037 MB / 307.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002317/0.1282, allocations: 4.051 MB / 311.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.1295, allocations: 1.853 MB / 313.2 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.1313, allocations: 2.745 MB / 315.9 MB, free: 228 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.1329, allocations: 1.882 MB / 317.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005672/0.1335, allocations: 496 kB / 318.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000766/0.1343, allocations: 0.6948 MB / 319 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005949/0.1349, allocations: 1.118 MB / 320.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.1361, allocations: 1.403 MB / 321.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002735/0.1388, allocations: 3.33 MB / 324.9 MB, free: 7.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1388, allocations: 0 / 324.9 MB, free: 7.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1388, allocations: 3.938 kB / 324.9 MB, free: 7.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.151e-05/0.1389, allocations: 0 / 324.9 MB, free: 7.285 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.004396/0.1433, allocations: 4.086 MB / 328.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1433, allocations: 12.03 kB / 329 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/0.1457, allocations: 1.027 MB / 330 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.1474, allocations: 1.419 MB / 331.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.1475, allocations: 234.7 kB / 331.6 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002824/0.1478, allocations: 316.3 kB / 331.9 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.15, allocations: 2.359 MB / 334.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.064e-05/0.1501, allocations: 11.88 kB / 334.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.1503, allocations: 128 kB / 334.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.482e-05/0.1504, allocations: 146.3 kB / 334.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.1517, allocations: 0.918 MB / 335.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008333/0.16, allocations: 8.465 MB / 344 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.1617, allocations: 1.41 MB / 345.4 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.1622, allocations: 469 kB / 345.8 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001987/0.1642, allocations: 1.58 MB / 347.4 MB, free: 164 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1642, allocations: 43.56 kB / 347.5 MB, free: 112 kB / 298.7 MB Notification: Performance of pre-optimization done (n=107): time 2.265e-06/0.1642, allocations: 0 / 347.5 MB, free: 112 kB / 298.7 MB Notification: Performance of matching and sorting (n=110): time 0.002948/0.1672, allocations: 2.116 MB / 349.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.1672, allocations: 64.41 kB / 349.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.168, allocations: 1.08 MB / 350.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003396/0.1683, allocations: 53.64 kB / 350.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004738/0.1688, allocations: 1.283 MB / 352 MB, free: 11.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.1689, allocations: 404.5 kB / 352.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.1692, allocations: 263.4 kB / 352.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.1692, allocations: 301.1 kB / 353 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.1695, allocations: 166.8 kB / 353.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.1699, allocations: 0.6698 MB / 353.8 MB, free: 9.414 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007182/0.1706, allocations: 0.9613 MB / 354.8 MB, free: 8.234 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.1706, allocations: 4 kB / 354.8 MB, free: 8.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.0009578/0.1715, allocations: 0.9458 MB / 355.7 MB, free: 7.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1716, allocations: 12 kB / 355.8 MB, free: 7.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.1716, allocations: 16 kB / 355.8 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.1718, allocations: 106.8 kB / 355.9 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006439/0.1724, allocations: 347.5 kB / 356.2 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.1739, allocations: 2.759 MB / 359 MB, free: 3.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/0.1743, allocations: 48 kB / 359 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.1744, allocations: 60.14 kB / 359.1 MB, free: 3.742 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.0003831/0.1747, allocations: 208.1 kB / 359.3 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.1749, allocations: 135.9 kB / 359.4 MB, free: 3.395 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009483/0.1758, allocations: 0.8166 MB / 360.2 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1758, allocations: 12 kB / 360.2 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1758, allocations: 4 kB / 360.2 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1758, allocations: 7.922 kB / 360.3 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.1779, allocations: 1.89 MB / 362.1 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1779, allocations: 4 kB / 362.1 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.1783, allocations: 163.8 kB / 362.3 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00041/0.1787, allocations: 229.8 kB / 362.5 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.1787, allocations: 27.98 kB / 362.6 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003254/0.182, allocations: 6.27 MB / 368.8 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.182, allocations: 0 / 368.8 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.1831, allocations: 1.122 MB / 369.9 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.1834, allocations: 170.9 kB / 370.1 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.1835, allocations: 28 kB / 370.1 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.1838, allocations: 39.98 kB / 370.2 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.1839, allocations: 92.75 kB / 370.3 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.1839, allocations: 24.11 kB / 370.3 MB, free: 8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000407/0.1843, allocations: 0.5288 MB / 370.8 MB, free: 7.469 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1843, allocations: 4 kB / 370.8 MB, free: 7.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009242/0.1852, allocations: 0.5 MB / 371.3 MB, free: 6.965 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.0002145/0.1855, allocations: 162.4 kB / 371.5 MB, free: 6.801 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.1865, allocations: 0.8956 MB / 372.4 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.541e-05/0.1866, allocations: 25.75 kB / 372.4 MB, free: 5.855 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000669/0.1872, allocations: 0.8829 MB / 373.3 MB, free: 4.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008975/0.1881, allocations: 424.3 kB / 373.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/0.1929, allocations: 4.586 MB / 378.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.1933, allocations: 0.6032 MB / 378.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007079/0.194, allocations: 230.1 kB / 379.1 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006297/0.1947, allocations: 435.1 kB / 379.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1947, allocations: 0 / 379.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of Templates: time 0.03363/0.2283, allocations: 25.24 MB / 404.8 MB, free: 5.762 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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.095484764780849]