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.001097/0.001097, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.9714/0.9714, allocations: 177.2 MB / 200.3 MB, free: 5.715 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.001352/0.001352, allocations: 155.7 kB / 256.9 MB, free: 12.99 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.02292/0.02292, allocations: 6.648 MB / 320.1 MB, free: 26.36 MB / 266.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.573e-06/1.573e-06, allocations: 0 / 392.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.173e-05, allocations: 6.25 kB / 392.1 MB, free: 2.25 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01123/0.01126, allocations: 13.43 MB / 405.5 MB, free: 4.754 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008797/0.02005, allocations: 4.586 MB / 410.1 MB, free: 156 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.02234, allocations: 111.3 kB / 410.2 MB, free: 44 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1318/0.1541, allocations: 1.037 MB / 411.3 MB, free: 69.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004748/0.1588, allocations: 1.345 MB / 412.6 MB, free: 69.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.1615, allocations: 0.8914 MB / 413.5 MB, free: 69.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006369/0.1678, allocations: 4.044 MB / 417.5 MB, free: 68.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003362/0.1712, allocations: 1.808 MB / 419.4 MB, free: 67.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005477/0.1767, allocations: 2.729 MB / 422.1 MB, free: 66.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003514/0.1802, allocations: 1.887 MB / 424 MB, free: 66.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001477/0.1817, allocations: 495.1 kB / 424.5 MB, free: 66.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.1841, allocations: 0.6913 MB / 425.1 MB, free: 66.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008562/0.1849, allocations: 1.117 MB / 426.3 MB, free: 65.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002718/0.1877, allocations: 1.398 MB / 427.7 MB, free: 64.83 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004196/0.1919, allocations: 3.329 MB / 431 MB, free: 62.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1919, allocations: 0.5 kB / 431 MB, free: 62.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1919, allocations: 1.469 kB / 431 MB, free: 62.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001652/0.192, allocations: 0 / 431 MB, free: 62.99 MB / 330.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.006187/0.1982, allocations: 4.349 MB / 435.3 MB, free: 59.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1983, allocations: 15.22 kB / 435.4 MB, free: 59.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.2005, allocations: 1.075 MB / 436.4 MB, free: 58.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.2027, allocations: 2.114 MB / 438.5 MB, free: 56.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.805e-05/0.2028, allocations: 238.7 kB / 438.8 MB, free: 56.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/0.2031, allocations: 319.1 kB / 439.1 MB, free: 55.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.2057, allocations: 2.306 MB / 441.4 MB, free: 53.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/0.2058, allocations: 1.25 kB / 441.4 MB, free: 53.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.206, allocations: 134.6 kB / 441.5 MB, free: 53.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.911e-05/0.206, allocations: 142.3 kB / 441.7 MB, free: 53.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.2073, allocations: 0.909 MB / 442.6 MB, free: 52.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.2176, allocations: 10.59 MB / 453.2 MB, free: 42.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.2193, allocations: 1.507 MB / 454.7 MB, free: 40.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.2199, allocations: 0.5181 MB / 455.2 MB, free: 40.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002486/0.2223, allocations: 2.004 MB / 457.2 MB, free: 38.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.2224, allocations: 46.39 kB / 457.2 MB, free: 38.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=107): time 2.895e-06/0.2224, allocations: 0 / 457.2 MB, free: 38.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=110): time 0.00361/0.226, allocations: 2.3 MB / 459.5 MB, free: 36.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.226, allocations: 60.41 kB / 459.6 MB, free: 36.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009281/0.2269, allocations: 1.274 MB / 460.9 MB, free: 34.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.227, allocations: 49.7 kB / 460.9 MB, free: 34.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005151/0.2275, allocations: 1.565 MB / 462.5 MB, free: 33.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.2277, allocations: 425.3 kB / 462.9 MB, free: 32.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.2279, allocations: 297.2 kB / 463.2 MB, free: 32.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.228, allocations: 480.8 kB / 463.7 MB, free: 32.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.2281, allocations: 163.8 kB / 463.8 MB, free: 32.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.2286, allocations: 0.8991 MB / 464.7 MB, free: 30.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008394/0.2294, allocations: 1.165 MB / 465.9 MB, free: 29.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.2294, allocations: 8 kB / 465.9 MB, free: 29.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.001372/0.2308, allocations: 1.196 MB / 467.1 MB, free: 28.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2308, allocations: 12 kB / 467.1 MB, free: 28.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.2308, allocations: 12 kB / 467.1 MB, free: 28.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.231, allocations: 106.4 kB / 467.2 MB, free: 28.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.2317, allocations: 359.6 kB / 467.6 MB, free: 27.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.2331, allocations: 3.867 MB / 471.4 MB, free: 23.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008123/0.2339, allocations: 51.98 kB / 471.5 MB, free: 23.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.234, allocations: 56 kB / 471.5 MB, free: 23.83 MB / 330.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.0007036/0.2347, allocations: 259.8 kB / 471.8 MB, free: 23.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.2349, allocations: 202.9 kB / 472 MB, free: 23.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2359, allocations: 0.9614 MB / 473 MB, free: 22.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2359, allocations: 12 kB / 473 MB, free: 22.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2359, allocations: 11.94 kB / 473 MB, free: 22.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.236, allocations: 3.984 kB / 473 MB, free: 22.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.2391, allocations: 2.49 MB / 475.5 MB, free: 20.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.2391, allocations: 8.188 kB / 475.5 MB, free: 20.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.2395, allocations: 166.5 kB / 475.6 MB, free: 19.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/0.24, allocations: 258.5 kB / 475.9 MB, free: 19.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.2401, allocations: 27.98 kB / 475.9 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003074/0.2431, allocations: 8.651 MB / 484.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2431, allocations: 4.156 kB / 484.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.2446, allocations: 1.343 MB / 485.9 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003873/0.245, allocations: 262.8 kB / 486.2 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.2451, allocations: 28 kB / 486.2 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.2454, allocations: 43.97 kB / 486.3 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.2455, allocations: 100.6 kB / 486.3 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.2456, allocations: 23.98 kB / 486.4 MB, free: 8.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005204/0.2461, allocations: 0.6902 MB / 487.1 MB, free: 8.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2461, allocations: 3.938 kB / 487.1 MB, free: 8.176 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001358/0.2474, allocations: 0.5038 MB / 487.6 MB, free: 7.672 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.000261/0.2477, allocations: 156 kB / 487.7 MB, free: 7.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.2487, allocations: 1.078 MB / 488.8 MB, free: 6.477 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2487, allocations: 4 kB / 488.8 MB, free: 6.473 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008278/0.2495, allocations: 1.148 MB / 490 MB, free: 5.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.2506, allocations: 443 kB / 490.4 MB, free: 4.883 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005525/0.2561, allocations: 4.769 MB / 495.2 MB, free: 60 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.2567, allocations: 0.7477 MB / 495.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00068/0.2574, allocations: 230.1 kB / 496.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006706/0.2581, allocations: 489.9 kB / 496.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2581, allocations: 0 / 496.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of Templates: time 0.03642/0.2945, allocations: 25.29 MB / 0.5097 GB, free: 5.789 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.704309256747365]