Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.001146/0.001146, allocations: 87.58 kB / 21.19 MB, free: 3.367 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.001206/0.001206, allocations: 161 kB / 24.56 MB, free: 0 / 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 1.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.582 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.2329/0.2329, allocations: 29.42 MB / 290.9 MB, free: 2.504 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.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.666e-05, allocations: 10.25 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.004951/0.004977, allocations: 5.232 MB / 374.9 MB, free: 5.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004865/0.009843, allocations: 4.007 MB / 378.9 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.01015, allocations: 19.81 kB / 378.9 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006815/0.01697, allocations: 5.364 MB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005382/0.01751, allocations: 361.9 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.01799, allocations: 263.3 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.01942, allocations: 1.676 MB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/0.01983, allocations: 328.3 kB / 386.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000507/0.02034, allocations: 0.522 MB / 387.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004894/0.02083, allocations: 422.8 kB / 387.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.009e-05/0.02089, allocations: 48 kB / 387.9 MB, free: 8.699 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.02109, allocations: 119.8 kB / 388 MB, free: 8.582 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.02128, allocations: 299.2 kB / 388.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.02145, allocations: 219.4 kB / 388.5 MB, free: 8.074 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.02202, allocations: 0.5371 MB / 389 MB, free: 7.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.02202, allocations: 4 kB / 389 MB, free: 7.531 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02202, allocations: 0 / 389 MB, free: 7.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.02204, allocations: 4 kB / 389 MB, free: 7.527 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.001083/0.02312, allocations: 0.9487 MB / 390 MB, free: 6.535 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.02316, allocations: 11.98 kB / 390 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.02349, allocations: 148.4 kB / 390.1 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/0.02409, allocations: 499 kB / 390.6 MB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.02412, allocations: 33.38 kB / 390.7 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.02418, allocations: 59.88 kB / 390.7 MB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.02468, allocations: 469.1 kB / 391.2 MB, free: 5.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.0247, allocations: 7.984 kB / 391.2 MB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.02473, allocations: 19.98 kB / 391.2 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.522e-05/0.02481, allocations: 44.97 kB / 391.2 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.02513, allocations: 225.7 kB / 391.5 MB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.02704, allocations: 2.524 MB / 394 MB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.02732, allocations: 217.1 kB / 394.2 MB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.02745, allocations: 99.08 kB / 394.3 MB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.02747, allocations: 8 kB / 394.3 MB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.0275, allocations: 45.39 kB / 394.3 MB, free: 1.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.674e-06/0.0275, allocations: 4 kB / 394.3 MB, free: 1.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001299/0.0288, allocations: 0.9555 MB / 395.3 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.02884, allocations: 110.8 kB / 395.4 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.02912, allocations: 438.6 kB / 395.8 MB, free: 324 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.02914, allocations: 37.7 kB / 395.9 MB, free: 280 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.02932, allocations: 367 kB / 396.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.597e-05/0.0294, allocations: 138.8 kB / 396.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.02949, allocations: 91.84 kB / 396.5 MB, free: 15.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.02964, allocations: 0.5352 MB / 397 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.02975, allocations: 64.95 kB / 397.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.02994, allocations: 262.9 kB / 397.3 MB, free: 14.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.03024, allocations: 361.3 kB / 397.7 MB, free: 14.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.03025, allocations: 0 / 397.7 MB, free: 14.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006507/0.0309, allocations: 0.5076 MB / 398.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.03092, allocations: 8 kB / 398.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.03093, allocations: 11.97 kB / 398.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004343/0.03136, allocations: 171.5 kB / 398.4 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.03154, allocations: 75.88 kB / 398.4 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/0.03417, allocations: 4.116 MB / 402.6 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.0343, allocations: 23.94 kB / 402.6 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.03432, allocations: 20 kB / 402.6 MB, free: 9.102 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.03445, allocations: 188.4 kB / 402.8 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.03452, allocations: 59.66 kB / 402.8 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004296/0.03495, allocations: 352.7 kB / 403.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.03495, allocations: 4 kB / 403.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.03496, allocations: 0 / 403.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.03496, allocations: 3.984 kB / 403.2 MB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008028/0.03576, allocations: 0.8005 MB / 404 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.03577, allocations: 3.938 kB / 404 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.03599, allocations: 75.89 kB / 404.1 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.061e-05/0.03608, allocations: 43.34 kB / 404.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.0361, allocations: 16.05 kB / 404.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.03741, allocations: 3.456 MB / 407.6 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.03741, allocations: 0 / 407.6 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.03801, allocations: 0.6841 MB / 408.3 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.03809, allocations: 75.52 kB / 408.3 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.03812, allocations: 12 kB / 408.4 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.03825, allocations: 16.05 kB / 408.4 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.0383, allocations: 27.95 kB / 408.4 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.03832, allocations: 12 kB / 408.4 MB, free: 2.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.0385, allocations: 283 kB / 408.7 MB, free: 2.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0385, allocations: 0 / 408.7 MB, free: 2.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000403/0.0389, allocations: 135.9 kB / 408.8 MB, free: 2.504 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001082/0.03901, allocations: 99.25 kB / 408.9 MB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007315/0.03974, allocations: 0.6878 MB / 409.6 MB, free: 1.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.03974, allocations: 0 / 409.6 MB, free: 1.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.04005, allocations: 479.3 kB / 410.1 MB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.04048, allocations: 89 kB / 410.2 MB, free: 1.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.04241, allocations: 1.256 MB / 411.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.04255, allocations: 181.7 kB / 411.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.04273, allocations: 84.3 kB / 411.7 MB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.026e-05/0.04281, allocations: 40.5 kB / 411.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.04281, allocations: 0 / 411.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of Templates: time 0.009202/0.05201, allocations: 6.481 MB / 418.2 MB, free: 9.078 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9941182299517095]