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.001057/0.001057, allocations: 93.06 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.9465/0.9465, allocations: 177.2 MB / 200 MB, free: 5.531 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.001137/0.001137, allocations: 155.5 kB / 256.6 MB, free: 12.98 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.04157/0.04157, allocations: 6.663 MB / 319.8 MB, free: 26.52 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.603e-06/1.603e-06, allocations: 0 / 391.7 MB, free: 2.555 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.163e-05, allocations: 6.25 kB / 391.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.0109/0.01092, allocations: 13.75 MB / 405.4 MB, free: 4.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006099/0.01702, allocations: 4.617 MB / 410 MB, free: 100 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1304/0.1474, allocations: 110.5 kB / 410.1 MB, free: 69.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003731/0.1512, allocations: 1.037 MB / 411.2 MB, free: 69.5 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.1549, allocations: 1.351 MB / 412.5 MB, free: 69.33 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.1566, allocations: 0.9131 MB / 413.4 MB, free: 69.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004021/0.1607, allocations: 4.034 MB / 417.5 MB, free: 68.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.1627, allocations: 1.814 MB / 419.3 MB, free: 67.76 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002919/0.1656, allocations: 2.733 MB / 422 MB, free: 66.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.1679, allocations: 1.875 MB / 423.9 MB, free: 65.99 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008291/0.1687, allocations: 494.9 kB / 424.4 MB, free: 65.99 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.1698, allocations: 0.696 MB / 425.1 MB, free: 65.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005271/0.1703, allocations: 1.116 MB / 426.2 MB, free: 65.26 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.1714, allocations: 1.4 MB / 427.6 MB, free: 64.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.1737, allocations: 3.337 MB / 430.9 MB, free: 62.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1737, allocations: 1.469 kB / 430.9 MB, free: 62.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1737, allocations: 0 / 430.9 MB, free: 62.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.964e-05/0.1737, allocations: 0 / 430.9 MB, free: 62.76 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.00504/0.1788, allocations: 4.438 MB / 435.4 MB, free: 59.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1788, allocations: 8.031 kB / 435.4 MB, free: 59.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/0.181, allocations: 1.148 MB / 436.5 MB, free: 58.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.1829, allocations: 2.21 MB / 438.7 MB, free: 56.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.579e-05/0.183, allocations: 238.1 kB / 439 MB, free: 55.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/0.1833, allocations: 316.3 kB / 439.3 MB, free: 55.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/0.1861, allocations: 2.505 MB / 441.8 MB, free: 53.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-05/0.1861, allocations: 0 / 441.8 MB, free: 53.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.1863, allocations: 134.3 kB / 441.9 MB, free: 52.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.779e-05/0.1864, allocations: 146.3 kB / 442.1 MB, free: 52.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.1883, allocations: 1.174 MB / 443.2 MB, free: 51.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008142/0.1965, allocations: 10.62 MB / 453.8 MB, free: 40.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.1983, allocations: 1.626 MB / 455.5 MB, free: 39.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006735/0.199, allocations: 0.5845 MB / 456.1 MB, free: 38.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002053/0.2011, allocations: 2.031 MB / 458.1 MB, free: 36.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.2011, allocations: 53.75 kB / 458.1 MB, free: 36.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=107): time 2.465e-06/0.2011, allocations: 0 / 458.1 MB, free: 36.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=110): time 0.003656/0.2047, allocations: 2.831 MB / 461 MB, free: 33.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.2048, allocations: 60.41 kB / 461 MB, free: 33.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009661/0.2057, allocations: 1.316 MB / 462.3 MB, free: 32.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.2058, allocations: 45.7 kB / 462.4 MB, free: 32.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/0.2063, allocations: 1.548 MB / 463.9 MB, free: 30.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.2064, allocations: 421.4 kB / 464.4 MB, free: 30.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.2067, allocations: 293.1 kB / 464.6 MB, free: 30.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.464e-05/0.2067, allocations: 476.8 kB / 465.1 MB, free: 29.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.207, allocations: 215 kB / 465.3 MB, free: 29.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/0.2075, allocations: 0.9388 MB / 466.3 MB, free: 28.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009127/0.2084, allocations: 1.241 MB / 467.5 MB, free: 26.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2084, allocations: 8 kB / 467.5 MB, free: 26.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.001322/0.2098, allocations: 1.302 MB / 468.8 MB, free: 25.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.2098, allocations: 15.98 kB / 468.8 MB, free: 25.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.2098, allocations: 16 kB / 468.8 MB, free: 25.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/0.21, allocations: 110.8 kB / 468.9 MB, free: 25.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/0.2107, allocations: 357.8 kB / 469.3 MB, free: 25.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.2119, allocations: 3.915 MB / 473.2 MB, free: 20.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004112/0.2123, allocations: 68.12 kB / 473.3 MB, free: 20.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/0.2123, 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.0004206/0.2128, allocations: 257.9 kB / 473.6 MB, free: 20.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.2129, allocations: 199 kB / 473.8 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.2142, allocations: 1.05 MB / 474.8 MB, free: 19.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.2142, allocations: 12 kB / 474.9 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2142, allocations: 4 kB / 474.9 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.2142, allocations: 3.984 kB / 474.9 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.2172, allocations: 3.1 MB / 478 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2172, allocations: 0 / 478 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.2176, allocations: 174.1 kB / 478.1 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005178/0.2181, allocations: 264 kB / 478.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-05/0.2182, allocations: 35.98 kB / 478.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003028/0.2212, allocations: 8.799 MB / 487.2 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2212, allocations: 4 kB / 487.2 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.2227, allocations: 1.474 MB / 488.7 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.223, allocations: 270.8 kB / 489 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.2231, allocations: 31.98 kB / 489 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.2234, allocations: 47.97 kB / 489 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.2235, allocations: 88.3 kB / 489.1 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.2236, allocations: 35.98 kB / 489.2 MB, free: 4.492 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006128/0.2242, allocations: 0.7472 MB / 489.9 MB, free: 3.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2242, allocations: 4 kB / 489.9 MB, free: 3.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001215/0.2254, allocations: 0.5116 MB / 490.4 MB, free: 3.23 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.0002745/0.2257, allocations: 158.6 kB / 490.6 MB, free: 3.082 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.2268, allocations: 1.15 MB / 491.7 MB, free: 1.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2268, allocations: 0 / 491.7 MB, free: 1.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007584/0.2276, allocations: 1.18 MB / 492.9 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.2286, allocations: 449.4 kB / 493.3 MB, free: 304 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/0.2344, allocations: 4.798 MB / 498.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/0.235, allocations: 0.7477 MB / 498.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005996/0.2356, allocations: 321.9 kB / 499.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.2358, allocations: 116.5 kB / 499.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2358, allocations: 0 / 499.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of Templates: time 0.03126/0.2671, allocations: 24.79 MB / 0.5118 GB, free: 1.828 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.5989188319072127]