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.001541/0.001541, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001737/0.001737, allocations: 161.6 kB / 24.27 MB, free: 172 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.634/1.634, allocations: 177.1 MB / 204.6 MB, free: 5.574 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.3232/0.3232, allocations: 29.41 MB / 290.5 MB, free: 2.41 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 2.134e-06/2.134e-06, allocations: 0 / 368.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.07e-05, allocations: 2.312 kB / 368.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01422/0.01425, allocations: 8.659 MB / 377.6 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007393/0.02164, allocations: 3.093 MB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.02266, allocations: 47.62 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.02433, allocations: 409.1 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.0268, allocations: 0.8388 MB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.02839, allocations: 491 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00285/0.03124, allocations: 1.924 MB / 384.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.03276, allocations: 0.9401 MB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.03437, allocations: 1.068 MB / 386.3 MB, free: 9.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.03562, allocations: 0.7284 MB / 387.1 MB, free: 9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002296/0.03585, allocations: 140 kB / 387.2 MB, free: 8.863 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007611/0.03661, allocations: 399.5 kB / 387.6 MB, free: 8.473 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005819/0.0372, allocations: 0.522 MB / 388.1 MB, free: 7.949 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006576/0.03785, allocations: 486.8 kB / 388.6 MB, free: 7.473 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.04075, allocations: 2.021 MB / 390.6 MB, free: 5.445 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.04076, allocations: 0 / 390.6 MB, free: 5.445 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.04076, allocations: 3.938 kB / 390.6 MB, free: 5.441 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.22e-05/0.04079, allocations: 0 / 390.6 MB, free: 5.441 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.003697/0.04449, allocations: 1.59 MB / 392.2 MB, free: 3.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.04453, allocations: 11.98 kB / 392.2 MB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.04555, allocations: 291.9 kB / 392.5 MB, free: 3.516 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.0475, allocations: 0.9131 MB / 393.4 MB, free: 2.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-05/0.04759, allocations: 82.38 kB / 393.5 MB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/0.04793, allocations: 132 kB / 393.6 MB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.05046, allocations: 1.4 MB / 395 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.0505, allocations: 0 / 395 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.05063, allocations: 51.98 kB / 395.1 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.05076, allocations: 65.97 kB / 395.1 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.05282, allocations: 1.066 MB / 396.2 MB, free: 15.68 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.007758/0.06058, allocations: 4.428 MB / 400.6 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.06194, allocations: 0.6351 MB / 401.3 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.06256, allocations: 335 kB / 401.6 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.431e-05/0.06263, allocations: 16.44 kB / 401.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.06267, allocations: 39.06 kB / 401.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=64): time 2.475e-06/0.06268, allocations: 0 / 401.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=71): time 0.006579/0.06926, allocations: 2.508 MB / 404.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.06939, allocations: 166.8 kB / 404.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.07043, allocations: 0.6879 MB / 405 MB, free: 6.574 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.769e-05/0.07051, allocations: 41.7 kB / 405.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005487/0.07106, allocations: 0.5781 MB / 405.6 MB, free: 5.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.07133, allocations: 261.8 kB / 405.9 MB, free: 5.684 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/0.07169, allocations: 158.6 kB / 406 MB, free: 5.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002824/0.07198, allocations: 398.8 kB / 406.4 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006227/0.0726, allocations: 304.7 kB / 406.7 MB, free: 4.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009141/0.07351, allocations: 0.5953 MB / 407.3 MB, free: 4.098 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.07504, allocations: 0.8853 MB / 408.2 MB, free: 3.105 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.07504, allocations: 4 kB / 408.2 MB, free: 3.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0034/0.07844, allocations: 1.364 MB / 409.6 MB, free: 1.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.07847, allocations: 15.97 kB / 409.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.07849, allocations: 8 kB / 409.6 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002445/0.08093, allocations: 0.5511 MB / 410.2 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/0.08169, allocations: 167.7 kB / 410.3 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.09245, allocations: 5.126 MB / 415.4 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008747/0.09333, allocations: 39.94 kB / 415.5 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.09349, allocations: 36 kB / 415.5 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001203/0.09469, allocations: 0.5604 MB / 416.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009421/0.09563, allocations: 0.5951 MB / 416.7 MB, free: 10.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001549/0.09718, allocations: 0.8697 MB / 417.5 MB, free: 9.426 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.634e-06/0.09719, allocations: 0 / 417.5 MB, free: 9.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.003303/0.1005, allocations: 1.286 MB / 418.8 MB, free: 8.129 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1005, allocations: 8 kB / 418.8 MB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.1005, allocations: 8 kB / 418.8 MB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/0.1027, allocations: 0.5164 MB / 419.4 MB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.1034, allocations: 167.7 kB / 419.5 MB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009359/0.1128, allocations: 4.891 MB / 424.4 MB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008107/0.1136, allocations: 43.91 kB / 424.5 MB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.1137, allocations: 36 kB / 424.5 MB, free: 2.359 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (80): * Single equations (assignments): 79 * 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.0003671/0.1141, allocations: 236 kB / 424.7 MB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.1144, allocations: 111.4 kB / 424.8 MB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.1163, allocations: 0.7993 MB / 425.6 MB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.1163, allocations: 15.94 kB / 425.7 MB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1163, allocations: 0 / 425.7 MB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.1163, allocations: 7.922 kB / 425.7 MB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/0.1202, allocations: 1.595 MB / 427.3 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/0.1202, allocations: 4 kB / 427.3 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009596/0.1211, allocations: 167.8 kB / 427.4 MB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/0.1212, allocations: 4 kB / 427.4 MB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-05/0.1212, allocations: 19.98 kB / 427.4 MB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.1212, allocations: 4 kB / 427.4 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1212, allocations: 0 / 427.4 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.1236, allocations: 1.303 MB / 428.8 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/0.1241, allocations: 151.3 kB / 428.9 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.1243, allocations: 24 kB / 428.9 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000589/0.1249, allocations: 23.98 kB / 428.9 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.1251, allocations: 44.56 kB / 429 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/0.1251, allocations: 20 kB / 429 MB, free: 13.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008432/0.126, allocations: 467 kB / 429.5 MB, free: 13.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.126, allocations: 0 / 429.5 MB, free: 13.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002083/0.128, allocations: 471.9 kB / 429.9 MB, free: 12.85 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.0004111/0.1284, allocations: 146.7 kB / 430.1 MB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004253/0.1327, allocations: 1.839 MB / 431.9 MB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.1327, allocations: 4 kB / 431.9 MB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007413/0.1335, allocations: 335.5 kB / 432.2 MB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.135, allocations: 215.1 kB / 432.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.1404, allocations: 2.327 MB / 434.8 MB, free: 7.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.1415, allocations: 0.6146 MB / 435.4 MB, free: 7.277 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000949/0.1425, allocations: 234.7 kB / 435.6 MB, free: 7.043 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/0.1428, allocations: 64.48 kB / 435.7 MB, free: 6.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.853e-06/0.1428, allocations: 3.938 kB / 435.7 MB, free: 6.977 MB / 410.7 MB Notification: Performance of Templates: time 0.1732/0.316, allocations: 16.19 MB / 451.9 MB, free: 105.6 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.61363065300975]