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.00139/0.00139, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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 1.477/1.477, allocations: 177.1 MB / 199.7 MB, free: 5.797 MB / 186.7 MB " [Timeout remaining time 178] 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.002169/0.002169, allocations: 156.7 kB / 256.3 MB, free: 13.16 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.03672/0.03672, allocations: 6.667 MB / 319.4 MB, free: 26.57 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.633e-06/1.633e-06, allocations: 0 / 390.9 MB, free: 2.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.686e-05, allocations: 6.312 kB / 390.9 MB, free: 2.938 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.0186/0.01863, allocations: 12.3 MB / 403.2 MB, free: 6.578 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.02965, allocations: 4.458 MB / 407.7 MB, free: 2.105 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.03212, allocations: 111.3 kB / 407.8 MB, free: 1.996 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003395/0.03552, allocations: 1.036 MB / 408.8 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1344/0.1699, allocations: 1.337 MB / 410.2 MB, free: 69.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.1727, allocations: 0.9038 MB / 411.1 MB, free: 69.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004709/0.1774, allocations: 4.033 MB / 415.1 MB, free: 68.49 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/0.1799, allocations: 1.799 MB / 416.9 MB, free: 68.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.1841, allocations: 2.703 MB / 419.6 MB, free: 67.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003193/0.1873, allocations: 1.7 MB / 421.3 MB, free: 66.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001185/0.1885, allocations: 496.3 kB / 421.8 MB, free: 66.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.1903, allocations: 0.6903 MB / 422.5 MB, free: 66.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000876/0.1912, allocations: 1.1 MB / 423.6 MB, free: 66.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002646/0.1939, allocations: 1.386 MB / 425 MB, free: 65.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006879/0.2007, allocations: 6.513 MB / 431.5 MB, free: 61.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2007, allocations: 0 / 431.5 MB, free: 61.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2007, allocations: 3.438 kB / 431.5 MB, free: 61.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001895/0.2009, allocations: 0.8125 kB / 431.5 MB, free: 61.69 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.01134/0.2123, allocations: 4.186 MB / 435.7 MB, free: 58.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2123, allocations: 8.031 kB / 435.7 MB, free: 58.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004109/0.2164, allocations: 1.15 MB / 436.8 MB, free: 57.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003582/0.22, allocations: 2.371 MB / 439.2 MB, free: 55.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.2201, allocations: 234.7 kB / 439.4 MB, free: 54.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004204/0.2205, allocations: 323.6 kB / 439.7 MB, free: 54.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006042/0.2266, allocations: 4.288 MB / 444 MB, free: 50.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.961e-05/0.2267, allocations: 11.8 kB / 444 MB, free: 50.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002791/0.2269, allocations: 139 kB / 444.2 MB, free: 50.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.227, allocations: 138.3 kB / 444.3 MB, free: 49.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004837/0.2319, allocations: 3.499 MB / 447.8 MB, free: 46.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.018/0.2499, allocations: 11.49 MB / 459.3 MB, free: 34.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003644/0.2535, allocations: 2.141 MB / 461.4 MB, free: 32.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.255, allocations: 0.9982 MB / 462.4 MB, free: 31.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004202/0.2592, allocations: 2.551 MB / 465 MB, free: 29.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.2592, allocations: 43.56 kB / 465 MB, free: 29.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=107): time 3.026e-06/0.2592, allocations: 4 kB / 465 MB, free: 29.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=110): time 0.007599/0.2668, allocations: 4.172 MB / 469.2 MB, free: 25.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.2668, allocations: 64.25 kB / 469.3 MB, free: 25.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.2684, allocations: 1.446 MB / 470.7 MB, free: 23.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.58e-05/0.2685, allocations: 45.7 kB / 470.8 MB, free: 23.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005799/0.269, allocations: 1.482 MB / 472.3 MB, free: 22.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.2692, allocations: 399.6 kB / 472.6 MB, free: 21.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/0.2696, allocations: 273.3 kB / 472.9 MB, free: 21.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.2696, allocations: 305.1 kB / 473.2 MB, free: 21.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000783/0.2704, allocations: 0.57 MB / 473.8 MB, free: 20.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009516/0.2713, allocations: 1.087 MB / 474.9 MB, free: 19.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.2732, allocations: 1.729 MB / 476.6 MB, free: 17.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.2732, allocations: 4 kB / 476.6 MB, free: 17.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002712/0.2759, allocations: 2.042 MB / 478.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.2759, allocations: 12 kB / 478.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.2759, allocations: 16 kB / 478.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/0.2763, allocations: 138.9 kB / 478.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.2775, allocations: 368 kB / 479.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.2794, allocations: 3.112 MB / 482.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.2805, allocations: 71.86 kB / 482.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.2806, allocations: 71.98 kB / 482.4 MB, free: 11.45 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.001278/0.2819, allocations: 0.9679 MB / 483.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.2821, allocations: 198.9 kB / 483.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/0.2848, allocations: 1.639 MB / 485.2 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.2848, allocations: 12 kB / 485.2 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2848, allocations: 4 kB / 485.2 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.2848, allocations: 3.984 kB / 485.2 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004983/0.2898, allocations: 3.525 MB / 488.8 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.2898, allocations: 0 / 488.8 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/0.2905, allocations: 179.1 kB / 488.9 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009137/0.2915, allocations: 338.8 kB / 489.3 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.084e-05/0.2915, allocations: 35.98 kB / 489.3 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006877/0.2984, allocations: 7.666 MB / 497 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2984, allocations: 3.562 kB / 497 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005045/0.3035, allocations: 2.436 MB / 499.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008292/0.3043, allocations: 290.9 kB / 499.7 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.3045, allocations: 24 kB / 499.7 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007794/0.3053, allocations: 55.95 kB / 499.8 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/0.3056, allocations: 88.83 kB / 499.9 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/0.3057, allocations: 35.92 kB / 499.9 MB, free: 9.582 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001771/0.3074, allocations: 0.966 MB / 0.4891 GB, free: 8.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3074, allocations: 0 / 0.4891 GB, free: 8.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00217/0.3096, allocations: 0.5073 MB / 0.4896 GB, free: 8.113 MB / 346.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.0003865/0.31, allocations: 155.7 kB / 0.4898 GB, free: 7.965 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003238/0.3132, allocations: 1.586 MB / 0.4913 GB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3132, allocations: 1.938 kB / 0.4913 GB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002211/0.3155, allocations: 1.175 MB / 0.4925 GB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/0.3179, allocations: 447.1 kB / 0.4929 GB, free: 4.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.3291, allocations: 5.336 MB / 0.4981 GB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/0.3314, allocations: 1.687 MB / 0.4997 GB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001378/0.3328, allocations: 354 kB / 0.5001 GB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.3331, allocations: 116.5 kB / 0.5002 GB, free: 13.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3331, allocations: 4 kB / 0.5002 GB, free: 13.2 MB / 362.7 MB Notification: Performance of Templates: time 0.04847/0.3816, allocations: 23.42 MB / 0.5231 GB, free: 6.238 MB / 378.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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.737453759997152]