Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.001945/0.001945, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002073/0.002073, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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.581/1.581, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3154/0.3154, allocations: 29.42 MB / 290.5 MB, free: 2.434 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.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/2.962e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01409/0.01412, allocations: 9.169 MB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007606/0.02173, allocations: 3.214 MB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009815/0.02271, allocations: 55.62 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.02416, allocations: 405.1 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.02648, allocations: 0.8272 MB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.02771, allocations: 0.4911 MB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003056/0.03077, allocations: 1.909 MB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.03283, allocations: 0.944 MB / 385.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001942/0.03478, allocations: 1.087 MB / 387 MB, free: 9.145 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.03622, allocations: 0.744 MB / 387.7 MB, free: 8.398 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.03649, allocations: 140 kB / 387.9 MB, free: 8.262 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000881/0.03737, allocations: 403.5 kB / 388.3 MB, free: 7.867 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006498/0.03802, allocations: 0.522 MB / 388.8 MB, free: 7.344 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000769/0.03879, allocations: 494.8 kB / 389.3 MB, free: 6.859 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002945/0.04173, allocations: 2.025 MB / 391.3 MB, free: 4.828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.04174, allocations: 0 / 391.3 MB, free: 4.828 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.04174, allocations: 0 / 391.3 MB, free: 4.828 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.812e-05/0.04177, allocations: 3.938 kB / 391.3 MB, free: 4.824 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.004763/0.04653, allocations: 1.823 MB / 393.1 MB, free: 2.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.063e-05/0.0466, allocations: 15.98 kB / 393.1 MB, free: 2.941 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.04777, allocations: 287.9 kB / 393.4 MB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.04998, allocations: 0.9119 MB / 394.3 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.454e-05/0.05006, allocations: 74.44 kB / 394.4 MB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/0.0504, allocations: 136 kB / 394.5 MB, free: 1.508 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.05284, allocations: 1.21 MB / 395.7 MB, free: 192 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/0.05287, allocations: 4 kB / 395.7 MB, free: 188 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.05299, allocations: 40 kB / 395.8 MB, free: 148 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.05313, allocations: 69.97 kB / 395.8 MB, free: 80 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.05482, allocations: 0.6947 MB / 396.5 MB, free: 15.38 MB / 378.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 8.318498358936397e-4 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009299/0.06412, allocations: 5.38 MB / 401.9 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.06539, allocations: 0.5545 MB / 402.5 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.06589, allocations: 245.8 kB / 402.7 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.038e-05/0.06595, allocations: 16.44 kB / 402.7 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.066, allocations: 45.89 kB / 402.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=64): time 2.965e-06/0.066, allocations: 0 / 402.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=71): time 0.005755/0.07176, allocations: 2.151 MB / 404.9 MB, free: 6.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.07189, allocations: 171 kB / 405.1 MB, free: 6.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.07316, allocations: 0.8899 MB / 406 MB, free: 5.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.893e-05/0.07322, allocations: 33.7 kB / 406 MB, free: 5.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006475/0.07387, allocations: 0.6783 MB / 406.7 MB, free: 4.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/0.0743, allocations: 289.8 kB / 407 MB, free: 4.555 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00034/0.07464, allocations: 196.3 kB / 407.2 MB, free: 4.355 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004551/0.0751, allocations: 0.6367 MB / 407.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.07558, allocations: 207.6 kB / 408 MB, free: 3.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000927/0.07651, allocations: 0.6579 MB / 408.7 MB, free: 2.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.07796, allocations: 0.8568 MB / 409.5 MB, free: 1.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.07797, allocations: 4 kB / 409.5 MB, free: 1.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00316/0.08113, allocations: 1.148 MB / 410.7 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.08116, allocations: 11.94 kB / 410.7 MB, free: 496 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.08119, allocations: 8 kB / 410.7 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002397/0.08358, allocations: 0.4918 MB / 411.2 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/0.08432, allocations: 167.7 kB / 411.4 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008767/0.09309, allocations: 4.529 MB / 415.9 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/0.09394, allocations: 43.94 kB / 415.9 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/0.09402, allocations: 32 kB / 416 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009305/0.09495, allocations: 424.8 kB / 416.4 MB, free: 10.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009198/0.09587, allocations: 0.6465 MB / 417 MB, free: 9.859 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001342/0.09721, allocations: 0.8372 MB / 417.9 MB, free: 8.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.179e-06/0.09721, allocations: 4 kB / 417.9 MB, free: 8.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.002725/0.09994, allocations: 1.089 MB / 418.9 MB, free: 7.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.09996, allocations: 8 kB / 419 MB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.09998, allocations: 12.3 kB / 419 MB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/0.1019, allocations: 479.2 kB / 419.4 MB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.1026, allocations: 167.7 kB / 419.6 MB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007991/0.1106, allocations: 4.369 MB / 424 MB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/0.1114, allocations: 47.92 kB / 424 MB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/0.1115, allocations: 36 kB / 424 MB, free: 2.539 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003868/0.1119, allocations: 327.7 kB / 424.4 MB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.1121, allocations: 107.4 kB / 424.5 MB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.1137, allocations: 0.6421 MB / 425.1 MB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.1137, allocations: 11.94 kB / 425.1 MB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1137, allocations: 8 kB / 425.1 MB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.1137, allocations: 3.984 kB / 425.1 MB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/0.1173, allocations: 1.703 MB / 426.8 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1173, allocations: 0 / 426.8 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008998/0.1182, allocations: 163.8 kB / 427 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.1182, allocations: 0 / 427 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.792e-05/0.1183, allocations: 24.03 kB / 427 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.218e-06/0.1183, allocations: 8 kB / 427 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1183, allocations: 3.938 kB / 427 MB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.1205, allocations: 1.153 MB / 428.2 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.121, allocations: 147.3 kB / 428.3 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.1211, allocations: 20 kB / 428.4 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004764/0.1216, allocations: 19.98 kB / 428.4 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.1217, allocations: 52.5 kB / 428.4 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.1217, allocations: 24 kB / 428.4 MB, free: 14.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008218/0.1226, allocations: 0.5263 MB / 429 MB, free: 13.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1226, allocations: 0 / 429 MB, free: 13.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001781/0.1243, allocations: 463.9 kB / 429.4 MB, free: 13.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.rotor.phi,PMgen.rotor.w,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00039/0.1247, allocations: 154.3 kB / 429.6 MB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004062/0.1288, allocations: 1.856 MB / 431.4 MB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1288, allocations: 3.938 kB / 431.4 MB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006112/0.1294, allocations: 302.1 kB / 431.7 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.1307, allocations: 213.1 kB / 431.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.1351, allocations: 2.221 MB / 434.2 MB, free: 8.242 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000847/0.1359, allocations: 0.5873 MB / 434.7 MB, free: 7.613 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007854/0.1367, allocations: 214.7 kB / 435 MB, free: 7.398 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/0.1372, allocations: 68.48 kB / 435 MB, free: 7.332 MB / 410.7 MB Notification: Performance of SimCode: time 1.153e-06/0.1372, allocations: 0 / 435 MB, free: 7.332 MB / 410.7 MB Notification: Performance of Templates: time 0.163/0.3002, allocations: 16.31 MB / 451.3 MB, free: 103.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.536546392017044]