Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.001008/0.001008, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] 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.001376/0.001376, allocations: 166.4 kB / 24.82 MB, free: 9.27 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.9693/0.9693, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2648/0.2648, allocations: 29.42 MB / 291.2 MB, free: 2.465 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.293e-05, allocations: 6.25 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005675/0.005698, allocations: 5.158 MB / 375.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005061/0.01076, allocations: 3.762 MB / 379 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004127/0.01117, allocations: 23.81 kB / 379 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00824/0.01941, allocations: 5.388 MB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000788/0.0202, allocations: 334 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.02069, allocations: 227.5 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.0226, allocations: 1.676 MB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006693/0.02327, allocations: 0.5418 MB / 387.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007078/0.02398, allocations: 0.5144 MB / 387.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005784/0.02456, allocations: 394.9 kB / 388.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.705e-05/0.02463, allocations: 52 kB / 388.1 MB, free: 8.633 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.0248, allocations: 67.98 kB / 388.2 MB, free: 8.566 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.02501, allocations: 267.3 kB / 388.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.02522, allocations: 215.5 kB / 388.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000627/0.02585, allocations: 0.4983 MB / 389.2 MB, free: 7.594 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.02586, allocations: 0 / 389.2 MB, free: 7.594 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.02586, allocations: 0 / 389.2 MB, free: 7.594 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.02587, allocations: 0 / 389.2 MB, free: 7.594 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001149/0.02702, allocations: 0.9176 MB / 390.1 MB, free: 6.637 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.02706, allocations: 15.98 kB / 390.1 MB, free: 6.621 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002804/0.02734, allocations: 104.5 kB / 390.2 MB, free: 6.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006812/0.02802, allocations: 0.4901 MB / 390.7 MB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.02804, allocations: 33.38 kB / 390.7 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.785e-05/0.02811, allocations: 47.92 kB / 390.8 MB, free: 5.922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.02861, allocations: 429 kB / 391.2 MB, free: 5.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.02864, allocations: 7.953 kB / 391.2 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.02867, allocations: 19.98 kB / 391.2 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-05/0.02876, allocations: 44.97 kB / 391.3 MB, free: 5.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.02903, allocations: 166.7 kB / 391.4 MB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.03115, allocations: 2.426 MB / 393.9 MB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.0314, allocations: 174.1 kB / 394 MB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/0.03148, allocations: 59.41 kB / 394.1 MB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.0315, allocations: 8 kB / 394.1 MB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.03153, allocations: 49.33 kB / 394.1 MB, free: 2.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.03153, allocations: 0 / 394.1 MB, free: 2.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001514/0.03304, allocations: 0.7425 MB / 394.9 MB, free: 1.551 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.03308, allocations: 85.11 kB / 395 MB, free: 1.449 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.03339, allocations: 410.4 kB / 395.4 MB, free: 1.031 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.03342, allocations: 29.7 kB / 395.4 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.03361, allocations: 370.7 kB / 395.8 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.243e-05/0.03369, allocations: 118.9 kB / 395.9 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.0338, allocations: 91.77 kB / 396 MB, free: 424 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.03397, allocations: 0.5352 MB / 396.5 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.054e-05/0.03405, allocations: 40.95 kB / 396.5 MB, free: 15.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.03424, allocations: 254.3 kB / 396.8 MB, free: 15.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.03455, allocations: 333.2 kB / 397.1 MB, free: 15.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.03455, allocations: 0 / 397.1 MB, free: 15.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006012/0.03515, allocations: 420.2 kB / 397.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.03517, allocations: 8.594 kB / 397.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.03518, allocations: 8 kB / 397.5 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/0.03547, allocations: 131.2 kB / 397.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.03567, allocations: 67.91 kB / 397.7 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.03791, allocations: 3.759 MB / 401.5 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.03809, allocations: 16 kB / 401.5 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.03812, allocations: 16 kB / 401.5 MB, free: 10.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.03827, allocations: 180.6 kB / 401.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.03834, allocations: 59.64 kB / 401.8 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/0.03883, allocations: 317.3 kB / 402.1 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.03883, allocations: 7.984 kB / 402.1 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003649/0.0392, allocations: 262.4 kB / 402.3 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.0392, allocations: 3.938 kB / 402.3 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008508/0.04005, allocations: 0.6803 MB / 403 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.04006, allocations: 7.938 kB / 403 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.04018, allocations: 31.98 kB / 403.1 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/0.04037, allocations: 71.94 kB / 403.1 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.04039, allocations: 11.98 kB / 403.1 MB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.04157, allocations: 1.975 MB / 405.1 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.04157, allocations: 0 / 405.1 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004998/0.04207, allocations: 477.3 kB / 405.6 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.55e-05/0.04216, allocations: 59.62 kB / 405.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.04219, allocations: 8 kB / 405.6 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.04231, allocations: 8 kB / 405.7 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.04236, allocations: 27.89 kB / 405.7 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.04238, allocations: 8.062 kB / 405.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.04255, allocations: 263 kB / 405.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04255, allocations: 0 / 405.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000477/0.04303, allocations: 116 kB / 406.1 MB, free: 5.625 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001169/0.04314, allocations: 103.1 kB / 406.2 MB, free: 5.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006202/0.04376, allocations: 0.5933 MB / 406.8 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.04377, allocations: 0 / 406.8 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.04404, allocations: 298.1 kB / 407 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.04453, allocations: 97.38 kB / 407.1 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.04638, allocations: 1.007 MB / 408.1 MB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.04652, allocations: 173.2 kB / 408.3 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.04668, allocations: 47.39 kB / 408.4 MB, free: 3.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.04688, allocations: 146.2 kB / 408.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.04688, allocations: 0 / 408.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of Templates: time 0.009592/0.05647, allocations: 5.534 MB / 414 MB, free: 13.61 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0488305212929845]