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.0009946/0.0009946, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.002143, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.9711/0.9711, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1693/1.14, allocations: 53.65 MB / 242 MB, free: 2.613 MB / 234.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.0008344/0.0008344, allocations: 162.7 kB / 242.9 MB, free: 1.73 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001902, allocations: 479.3 kB / 243.4 MB, free: 1.273 MB / 234.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.02355/0.02355, allocations: 6.654 MB / 250.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006898/0.03045, allocations: 2.665 MB / 253.5 MB, free: 7.406 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.703e-06/1.703e-06, allocations: 0 / 254.8 MB, free: 6.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.174e-05, allocations: 2.312 kB / 254.8 MB, free: 6.086 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01253/0.01255, allocations: 13.57 MB / 268.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.02398, allocations: 4.81 MB / 273.2 MB, free: 3.625 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.02575, allocations: 111.3 kB / 273.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.02806, allocations: 1.083 MB / 274.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.03093, allocations: 1.335 MB / 275.7 MB, free: 1.082 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.0325, allocations: 0.9037 MB / 276.6 MB, free: 180 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003469/0.03597, allocations: 4.053 MB / 280.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.03792, allocations: 1.857 MB / 282.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/0.04078, allocations: 2.963 MB / 285.5 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.04272, allocations: 1.882 MB / 287.3 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004981/0.04322, allocations: 496 kB / 287.8 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.04433, allocations: 0.7027 MB / 288.5 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007287/0.04506, allocations: 0.9001 MB / 289.4 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.04626, allocations: 1.17 MB / 290.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003191/0.04945, allocations: 3.158 MB / 293.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.04946, allocations: 0 / 293.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.04946, allocations: 4 kB / 293.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.797e-05/0.04949, allocations: 0 / 293.8 MB, free: 14.86 MB / 298.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.006363/0.05585, allocations: 4.86 MB / 298.6 MB, free: 9.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.05588, allocations: 8.031 kB / 298.6 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003079/0.05896, allocations: 1.035 MB / 299.7 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.06115, allocations: 1.415 MB / 301.1 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.06131, allocations: 238.7 kB / 301.3 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003804/0.06169, allocations: 316.3 kB / 301.6 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003032/0.06472, allocations: 2.362 MB / 304 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.814e-05/0.06478, allocations: 11.91 kB / 304 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/0.06502, allocations: 132 kB / 304.1 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.06514, allocations: 138.3 kB / 304.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.06689, allocations: 0.9187 MB / 305.2 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.07695, allocations: 8.501 MB / 313.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.07904, allocations: 1.412 MB / 315.1 MB, free: 8.914 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/0.07971, allocations: 473 kB / 315.6 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.07983, allocations: 57.28 kB / 315.6 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.07987, allocations: 55.86 kB / 315.7 MB, free: 8.332 MB / 314.7 MB Notification: Performance of pre-optimization done (n=147): time 3.056e-06/0.07987, allocations: 0 / 315.7 MB, free: 8.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=150): time 0.004998/0.08487, allocations: 2.63 MB / 318.3 MB, free: 5.664 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.08491, allocations: 72.7 kB / 318.4 MB, free: 5.582 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000945/0.08585, allocations: 1.059 MB / 319.4 MB, free: 4.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.08592, allocations: 49.7 kB / 319.5 MB, free: 4.453 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005914/0.08651, allocations: 1.221 MB / 320.7 MB, free: 3.219 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/0.08682, allocations: 0.5382 MB / 321.2 MB, free: 2.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00034/0.08716, allocations: 299.3 kB / 321.5 MB, free: 2.379 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.08722, allocations: 309.1 kB / 321.8 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.08755, allocations: 194.7 kB / 322 MB, free: 1.883 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.08809, allocations: 0.6698 MB / 322.7 MB, free: 1.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.08918, allocations: 1.076 MB / 323.8 MB, free: 15.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.08918, allocations: 4 kB / 323.8 MB, free: 15.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.001396/0.09058, allocations: 1.03 MB / 324.8 MB, free: 14.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.0906, allocations: 18.81 kB / 324.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.09062, allocations: 16 kB / 324.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.09085, allocations: 94.45 kB / 324.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.09209, allocations: 491.3 kB / 325.4 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.09337, allocations: 2.814 MB / 328.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.09376, allocations: 64.09 kB / 328.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.73e-05/0.09382, allocations: 63.98 kB / 328.3 MB, free: 10.94 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (218): * Single equations (assignments): 215 * 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.0003359/0.09416, allocations: 224 kB / 328.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.09431, allocations: 147.8 kB / 328.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.09536, allocations: 0.9399 MB / 329.6 MB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.09537, allocations: 16 kB / 329.7 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.09537, allocations: 4 kB / 329.7 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.09538, allocations: 7.969 kB / 329.7 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.09795, allocations: 2.418 MB / 332.1 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.09795, allocations: 4 kB / 332.1 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.0985, allocations: 272.9 kB / 332.4 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.09883, allocations: 194.8 kB / 332.6 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005313/0.09936, allocations: 227 kB / 332.8 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.574e-05/0.09941, allocations: 39.92 kB / 332.8 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1337/0.2331, allocations: 6.292 MB / 339.1 MB, free: 52.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.2331, allocations: 2.406 kB / 339.1 MB, free: 52.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.2351, allocations: 1.349 MB / 340.5 MB, free: 52.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.2353, allocations: 33.05 kB / 340.5 MB, free: 52.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.2357, allocations: 52.69 kB / 340.5 MB, free: 52.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.2359, allocations: 116.6 kB / 340.7 MB, free: 52.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/0.2359, allocations: 34.72 kB / 340.7 MB, free: 52.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006232/0.2366, allocations: 0.5188 MB / 341.2 MB, free: 52.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2366, allocations: 0.9688 kB / 341.2 MB, free: 52.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001357/0.2379, allocations: 0.5377 MB / 341.7 MB, free: 52.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (126): * Single equations (assignments): 122 * 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.0002376/0.2382, allocations: 157.7 kB / 341.9 MB, free: 52.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.2393, allocations: 1.026 MB / 342.9 MB, free: 52.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-05/0.2394, allocations: 27.59 kB / 343 MB, free: 52.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007934/0.2401, allocations: 1.05 MB / 344 MB, free: 51.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.2418, allocations: 4.46 MB / 348.5 MB, free: 47.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/0.2598, allocations: 4.974 MB / 353.4 MB, free: 45.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.2603, allocations: 0.6308 MB / 354.1 MB, free: 45.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005711/0.2608, allocations: 255.5 kB / 354.3 MB, free: 45.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007012/0.2615, allocations: 461.3 kB / 354.8 MB, free: 45.01 MB / 330.7 MB Notification: Performance of SimCode: time 1.743e-06/0.2615, allocations: 0 / 354.8 MB, free: 45.01 MB / 330.7 MB Notification: Performance of Templates: time 0.03144/0.293, allocations: 28.27 MB / 383 MB, free: 26.36 MB / 330.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.328805573284626]