Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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.0009173/0.0009173, allocations: 80.75 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.9357/0.9357, allocations: 177.2 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.001161/0.001161, allocations: 152.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.02504/0.02504, allocations: 6.657 MB / 266.9 MB, free: 3.219 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.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") translateModel(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 285.7 MB, free: 488 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.673e-05, allocations: 9.203 kB / 285.7 MB, free: 480 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.1183/0.1183, allocations: 13.19 MB / 298.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007013/0.1253, allocations: 4.678 MB / 303.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.1265, allocations: 117 kB / 303.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.1281, allocations: 1.068 MB / 304.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.1303, allocations: 1.346 MB / 306.1 MB, free: 9.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.1315, allocations: 0.9031 MB / 307 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002547/0.1341, allocations: 4.289 MB / 311.3 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.1354, allocations: 1.965 MB / 313.2 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.1374, allocations: 2.948 MB / 316.2 MB, free: 24 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.1391, allocations: 2.015 MB / 318.2 MB, free: 14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006171/0.1398, allocations: 0.5234 MB / 318.7 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008238/0.1406, allocations: 0.73 MB / 319.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006326/0.1412, allocations: 1.192 MB / 320.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.1424, allocations: 1.501 MB / 322.1 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.1452, allocations: 3.544 MB / 325.7 MB, free: 6.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1452, allocations: 0 / 325.7 MB, free: 6.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1452, allocations: 0 / 325.7 MB, free: 6.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.439e-05/0.1452, allocations: 8 kB / 325.7 MB, free: 6.492 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: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.004895/0.1501, allocations: 4.336 MB / 330 MB, free: 2.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.1501, allocations: 8.031 kB / 330 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.1524, allocations: 1.128 MB / 331.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.1541, allocations: 1.482 MB / 332.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.1542, allocations: 252.3 kB / 332.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003041/0.1545, allocations: 340.3 kB / 333.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.1569, allocations: 2.531 MB / 335.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.931e-05/0.157, allocations: 11.89 kB / 335.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.1572, allocations: 143.3 kB / 335.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.692e-05/0.1572, allocations: 154.7 kB / 336 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.1589, allocations: 0.9864 MB / 337 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008397/0.1673, allocations: 9.008 MB / 346 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.1691, allocations: 1.544 MB / 347.6 MB, free: 48 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/0.1697, allocations: 0.5173 MB / 348.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002037/0.1717, allocations: 1.677 MB / 349.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1717, allocations: 43.56 kB / 349.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 1.984e-06/0.1717, allocations: 0 / 349.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.003532/0.1753, allocations: 2.389 MB / 352.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.1753, allocations: 64.41 kB / 352.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007263/0.176, allocations: 1.124 MB / 353.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.1761, allocations: 45.7 kB / 353.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004837/0.1765, allocations: 1.346 MB / 354.8 MB, free: 8.719 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.1767, allocations: 432.2 kB / 355.2 MB, free: 8.293 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.177, allocations: 287.3 kB / 355.5 MB, free: 8.004 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.177, allocations: 301.1 kB / 355.8 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.1773, allocations: 178.8 kB / 356 MB, free: 7.531 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/0.1777, allocations: 0.6875 MB / 356.6 MB, free: 6.613 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007408/0.1784, allocations: 1.011 MB / 357.7 MB, free: 5.379 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.331e-06/0.1784, allocations: 4 kB / 357.7 MB, free: 5.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001271/0.1797, allocations: 0.9985 MB / 358.7 MB, free: 4.359 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.1797, allocations: 15.97 kB / 358.7 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.1797, allocations: 20 kB / 358.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.1799, allocations: 90.52 kB / 358.8 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006796/0.1806, allocations: 375.4 kB / 359.1 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.1818, allocations: 2.759 MB / 361.9 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/0.1822, allocations: 55.95 kB / 362 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.1823, allocations: 59.98 kB / 362 MB, free: 0.8086 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (196): * Single equations (assignments): 193 * 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.0003497/0.1826, allocations: 220 kB / 362.2 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.1828, allocations: 139.9 kB / 362.4 MB, free: 456 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.1838, allocations: 0.9233 MB / 363.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1838, allocations: 15.94 kB / 363.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1838, allocations: 8 kB / 363.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.1839, allocations: 7.969 kB / 363.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.1863, allocations: 2.055 MB / 365.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1863, allocations: 0 / 365.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/0.1866, allocations: 147.8 kB / 365.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005755/0.1872, allocations: 342.2 kB / 365.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.1872, allocations: 39.98 kB / 365.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004203/0.1914, allocations: 8.232 MB / 374.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1915, allocations: 4 kB / 374.1 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.1927, allocations: 1.217 MB / 375.4 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.193, allocations: 182.8 kB / 375.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.1931, allocations: 31.94 kB / 375.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.1934, allocations: 51.97 kB / 375.6 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.1935, allocations: 100.7 kB / 375.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/0.1935, allocations: 27.98 kB / 375.7 MB, free: 2.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000394/0.1939, allocations: 0.5455 MB / 376.3 MB, free: 1.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1939, allocations: 0 / 376.3 MB, free: 1.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00092/0.1948, allocations: 0.539 MB / 376.8 MB, free: 1.383 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].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 (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,13,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.000201/0.195, allocations: 140.2 kB / 377 MB, free: 1.234 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008466/0.1959, allocations: 0.9286 MB / 377.9 MB, free: 288 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-05/0.1959, allocations: 22.31 kB / 377.9 MB, free: 264 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008148/0.1967, allocations: 1.109 MB / 379 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.1979, allocations: 465.1 kB / 379.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/0.2025, allocations: 4.785 MB / 384.3 MB, free: 9.781 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.203, allocations: 0.6466 MB / 384.9 MB, free: 9.117 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000452/0.2035, allocations: 234.8 kB / 385.1 MB, free: 8.883 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006146/0.2041, allocations: 439.1 kB / 385.6 MB, free: 8.449 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2041, allocations: 0 / 385.6 MB, free: 8.449 MB / 346.7 MB Notification: Performance of Templates: time 0.03228/0.2364, allocations: 27.46 MB / 413 MB, free: 13.43 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3136373511515558]