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.0009651/0.0009651, allocations: 92.22 kB / 19.65 MB, free: 276 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 0.9619/0.9619, allocations: 177.1 MB / 200 MB, free: 5.844 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.001182/0.001182, allocations: 164 kB / 256.6 MB, free: 13.15 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.04434/0.04434, allocations: 6.658 MB / 319.8 MB, free: 26.54 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.463e-06/1.463e-06, allocations: 0 / 391.7 MB, free: 2.566 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.764e-05, allocations: 6.25 kB / 391.7 MB, free: 2.559 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01261/0.01263, allocations: 13.74 MB / 405.4 MB, free: 4.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008008/0.02064, allocations: 4.621 MB / 410 MB, free: 116 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.02321, allocations: 111.3 kB / 410.1 MB, free: 4 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1362/0.1594, allocations: 1.04 MB / 411.2 MB, free: 69.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.1628, allocations: 1.347 MB / 412.5 MB, free: 69.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.1644, allocations: 0.907 MB / 413.4 MB, free: 69.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004079/0.1684, allocations: 4.037 MB / 417.5 MB, free: 68.4 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00256/0.171, allocations: 1.808 MB / 419.3 MB, free: 67.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00527/0.1763, allocations: 2.736 MB / 422 MB, free: 66.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003638/0.1799, allocations: 1.867 MB / 423.9 MB, free: 66.06 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001248/0.1812, allocations: 497.5 kB / 424.4 MB, free: 66.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.1829, allocations: 0.699 MB / 425.1 MB, free: 66.01 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000774/0.1837, allocations: 1.121 MB / 426.2 MB, free: 65.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.1857, allocations: 1.409 MB / 427.6 MB, free: 64.67 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003474/0.1892, allocations: 3.341 MB / 430.9 MB, free: 62.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1892, allocations: 0 / 430.9 MB, free: 62.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1892, allocations: 0 / 430.9 MB, free: 62.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001397/0.1894, allocations: 6.344 kB / 430.9 MB, free: 62.8 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.006112/0.1955, allocations: 4.428 MB / 435.4 MB, free: 59.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1955, allocations: 12.03 kB / 435.4 MB, free: 59.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.1978, allocations: 1.15 MB / 436.5 MB, free: 58.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/0.2001, allocations: 2.208 MB / 438.7 MB, free: 56.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.267e-05/0.2002, allocations: 237.4 kB / 439 MB, free: 55.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/0.2005, allocations: 316.3 kB / 439.3 MB, free: 55.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/0.2035, allocations: 2.513 MB / 441.8 MB, free: 53.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.8e-05/0.2036, allocations: 4 kB / 441.8 MB, free: 53.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.2037, allocations: 128.7 kB / 441.9 MB, free: 52.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.279e-05/0.2038, allocations: 142.3 kB / 442.1 MB, free: 52.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.2059, allocations: 1.181 MB / 443.2 MB, free: 51.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009244/0.2152, allocations: 10.62 MB / 453.9 MB, free: 40.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.2172, allocations: 1.626 MB / 455.5 MB, free: 39.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007221/0.2179, allocations: 0.5717 MB / 456.1 MB, free: 38.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002378/0.2203, allocations: 2.04 MB / 458.1 MB, free: 36.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.2203, allocations: 53.48 kB / 458.1 MB, free: 36.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=107): time 2.735e-06/0.2203, allocations: 0 / 458.1 MB, free: 36.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=110): time 0.004058/0.2244, allocations: 2.821 MB / 461 MB, free: 33.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.2244, allocations: 64.41 kB / 461 MB, free: 33.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.2255, allocations: 1.312 MB / 462.3 MB, free: 32.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.2255, allocations: 41.7 kB / 462.4 MB, free: 32.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006425/0.2262, allocations: 1.559 MB / 463.9 MB, free: 30.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.2264, allocations: 417.9 kB / 464.4 MB, free: 30.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/0.2267, allocations: 293.1 kB / 464.6 MB, free: 30.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.547e-05/0.2267, allocations: 480.7 kB / 465.1 MB, free: 29.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.2272, allocations: 207.9 kB / 465.3 MB, free: 29.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/0.2278, allocations: 0.9436 MB / 466.3 MB, free: 28.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.229, allocations: 1.233 MB / 467.5 MB, free: 26.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.229, allocations: 8 kB / 467.5 MB, free: 26.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.001844/0.2309, allocations: 1.311 MB / 468.8 MB, free: 25.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.2309, allocations: 12 kB / 468.8 MB, free: 25.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.2309, allocations: 16 kB / 468.8 MB, free: 25.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000281/0.2312, allocations: 114.2 kB / 468.9 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009442/0.2321, allocations: 362.2 kB / 469.3 MB, free: 25.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.2336, allocations: 3.917 MB / 473.2 MB, free: 20.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000727/0.2343, allocations: 63.92 kB / 473.3 MB, free: 20.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/0.2344, allocations: 71.98 kB / 473.3 MB, free: 20.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.0005686/0.235, allocations: 262.9 kB / 473.6 MB, free: 20.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.2352, allocations: 202.9 kB / 473.8 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.2368, allocations: 1.037 MB / 474.8 MB, free: 19.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.2368, allocations: 16 kB / 474.9 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2368, allocations: 4 kB / 474.9 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.2368, allocations: 3.984 kB / 474.9 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004076/0.2409, allocations: 3.099 MB / 478 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2409, allocations: 0 / 478 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.2415, allocations: 178.5 kB / 478.1 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006404/0.2421, allocations: 265.4 kB / 478.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.72e-05/0.2422, allocations: 31.98 kB / 478.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003829/0.246, allocations: 8.81 MB / 487.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.246, allocations: 0 / 487.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.248, allocations: 1.458 MB / 488.7 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.2485, allocations: 286.7 kB / 489 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.2486, allocations: 32 kB / 489 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/0.2491, allocations: 47.97 kB / 489.1 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.2493, allocations: 84.83 kB / 489.1 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-05/0.2494, allocations: 35.98 kB / 489.2 MB, free: 4.488 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008874/0.2502, allocations: 0.7472 MB / 489.9 MB, free: 3.742 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2502, allocations: 3.469 kB / 489.9 MB, free: 3.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001521/0.2518, allocations: 0.5039 MB / 490.4 MB, free: 3.238 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.0002601/0.252, allocations: 157.9 kB / 490.6 MB, free: 3.086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.2535, allocations: 1.151 MB / 491.7 MB, free: 1.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.2536, allocations: 7.938 kB / 491.7 MB, free: 1.941 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009745/0.2545, allocations: 1.178 MB / 492.9 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.2559, allocations: 450 kB / 493.4 MB, free: 300 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00741/0.2633, allocations: 4.789 MB / 498.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/0.264, allocations: 0.7477 MB / 498.9 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008217/0.2648, allocations: 314 kB / 499.2 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.2651, allocations: 124.5 kB / 499.3 MB, free: 10.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2651, allocations: 0 / 499.3 MB, free: 10.23 MB / 346.7 MB Notification: Performance of Templates: time 0.03627/0.3014, allocations: 23.46 MB / 0.5105 GB, free: 3.184 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.678341773338616]