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.0008883/0.0008883, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.9612/0.9612, allocations: 177.1 MB / 201 MB, free: 5.703 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.001165/0.001165, allocations: 148.7 kB / 257.7 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.02666/0.02666, allocations: 6.664 MB / 320.9 MB, free: 11.47 MB / 298.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.193e-06/1.193e-06, allocations: 0 / 392.9 MB, free: 3.355 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.425e-05, allocations: 6.312 kB / 392.9 MB, free: 3.348 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01145/0.01148, allocations: 13.41 MB / 406.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007059/0.01854, allocations: 4.598 MB / 410.9 MB, free: 1.266 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.01982, allocations: 111.3 kB / 411 MB, free: 1.156 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.02153, allocations: 1.036 MB / 412.1 MB, free: 116 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.02376, allocations: 1.347 MB / 413.4 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.02498, allocations: 0.8998 MB / 414.3 MB, free: 13.86 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00299/0.02797, allocations: 4.045 MB / 418.3 MB, free: 9.789 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.02969, allocations: 1.802 MB / 420.1 MB, free: 7.918 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002533/0.03222, allocations: 2.733 MB / 422.9 MB, free: 5.18 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.03399, allocations: 1.886 MB / 424.8 MB, free: 3.289 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003803/0.03437, allocations: 492 kB / 425.2 MB, free: 2.809 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007886/0.03516, allocations: 0.6948 MB / 425.9 MB, free: 2.113 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005994/0.03576, allocations: 1.11 MB / 427.1 MB, free: 1 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.03701, allocations: 1.399 MB / 428.5 MB, free: 15.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.03952, allocations: 3.333 MB / 431.8 MB, free: 12.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.03953, allocations: 0 / 431.8 MB, free: 12.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.03953, allocations: 0 / 431.8 MB, free: 12.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.595e-05/0.03956, allocations: 0 / 431.8 MB, free: 12.25 MB / 410.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.005207/0.04476, allocations: 4.342 MB / 436.1 MB, free: 7.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.0448, allocations: 12.03 kB / 436.1 MB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/0.04701, allocations: 1.08 MB / 437.2 MB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.04908, allocations: 2.12 MB / 439.3 MB, free: 4.578 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.04919, allocations: 234.7 kB / 439.6 MB, free: 4.348 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/0.04949, allocations: 320.3 kB / 439.9 MB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.0523, allocations: 2.303 MB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.999e-05/0.05236, allocations: 7.938 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/0.05255, allocations: 124 kB / 442.3 MB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.783e-05/0.05265, allocations: 146.3 kB / 442.5 MB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.0541, allocations: 0.9057 MB / 443.4 MB, free: 464 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1293/0.1834, allocations: 10.59 MB / 453.9 MB, free: 136.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.1855, allocations: 1.515 MB / 455.5 MB, free: 136.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006051/0.1861, allocations: 0.5105 MB / 456 MB, free: 136.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002583/0.1887, allocations: 2.001 MB / 458 MB, free: 135.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1887, allocations: 49.52 kB / 458 MB, free: 135.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 2.615e-06/0.1887, allocations: 0 / 458 MB, free: 135.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=110): time 0.003441/0.1921, allocations: 2.297 MB / 460.3 MB, free: 134.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.1922, allocations: 63.88 kB / 460.4 MB, free: 134.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008852/0.1931, allocations: 1.275 MB / 461.7 MB, free: 134.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.1931, allocations: 46.02 kB / 461.7 MB, free: 134.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004904/0.1936, allocations: 1.566 MB / 463.3 MB, free: 133.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.1937, allocations: 417.9 kB / 463.7 MB, free: 132.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.194, allocations: 306.3 kB / 464 MB, free: 132.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.396e-05/0.194, allocations: 476.8 kB / 464.4 MB, free: 132.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.1942, allocations: 162.6 kB / 464.6 MB, free: 132.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.1946, allocations: 0.9027 MB / 465.5 MB, free: 131.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006996/0.1953, allocations: 1.159 MB / 466.7 MB, free: 130.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.1953, allocations: 2.5 kB / 466.7 MB, free: 130.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.001104/0.1964, allocations: 1.203 MB / 467.9 MB, free: 130.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1964, allocations: 11.28 kB / 467.9 MB, free: 130.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.1964, allocations: 16.31 kB / 467.9 MB, free: 130.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.1966, allocations: 114.4 kB / 468 MB, free: 130 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/0.1973, allocations: 350.9 kB / 468.3 MB, free: 130 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.1983, allocations: 3.861 MB / 472.2 MB, free: 126.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.1987, allocations: 55.27 kB / 472.3 MB, free: 126.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.1988, allocations: 57.28 kB / 472.3 MB, free: 126.2 MB / 410.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.0004687/0.1993, allocations: 252.5 kB / 472.6 MB, free: 126 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.1994, allocations: 208.3 kB / 472.8 MB, free: 125.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.2006, allocations: 0.969 MB / 473.7 MB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.2006, allocations: 11.94 kB / 473.8 MB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2006, allocations: 3.938 kB / 473.8 MB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.2006, allocations: 13.44 kB / 473.8 MB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.2031, allocations: 2.492 MB / 476.3 MB, free: 124.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2031, allocations: 0 / 476.3 MB, free: 124.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.2035, allocations: 168.5 kB / 476.4 MB, free: 124.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004905/0.204, allocations: 246.5 kB / 476.7 MB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/0.2041, allocations: 35.03 kB / 476.7 MB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/0.2071, allocations: 8.653 MB / 485.4 MB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2071, allocations: 1.594 kB / 485.4 MB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.2085, allocations: 1.339 MB / 486.7 MB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.2087, allocations: 272.3 kB / 487 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.2089, allocations: 28 kB / 487 MB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.2092, allocations: 43.98 kB / 487 MB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.2093, allocations: 84.83 kB / 487.1 MB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.2094, allocations: 31.92 kB / 487.1 MB, free: 114.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004403/0.2098, allocations: 0.6903 MB / 487.8 MB, free: 114 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2098, allocations: 2.188 kB / 487.8 MB, free: 114 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00115/0.211, allocations: 0.5058 MB / 488.3 MB, free: 113.5 MB / 410.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.0002304/0.2112, allocations: 160.9 kB / 488.5 MB, free: 113.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008884/0.2121, allocations: 1.081 MB / 489.6 MB, free: 112.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2121, allocations: 0 / 489.6 MB, free: 112.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.2127, allocations: 1.145 MB / 490.7 MB, free: 111.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000999/0.2137, allocations: 438.5 kB / 491.2 MB, free: 110.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/0.2185, allocations: 4.756 MB / 495.9 MB, free: 106 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.219, allocations: 0.7515 MB / 496.7 MB, free: 105.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005107/0.2195, allocations: 230.1 kB / 496.9 MB, free: 105 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006048/0.2201, allocations: 489.9 kB / 497.4 MB, free: 104.5 MB / 410.7 MB Notification: Performance of SimCode: time 9.71e-07/0.2201, allocations: 0 / 497.4 MB, free: 104.5 MB / 410.7 MB Notification: Performance of Templates: time 0.02939/0.2495, allocations: 25.71 MB / 0.5108 GB, free: 79.24 MB / 410.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.715299661271274]