Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.0008869/0.0008869, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009118/0.0009118, allocations: 165 kB / 24.56 MB, free: 4 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 0.9468/0.9468, allocations: 177.1 MB / 205 MB, free: 5.652 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.2393/0.2393, allocations: 29.42 MB / 290.9 MB, free: 2.5 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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.049e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01021/0.01024, allocations: 7.913 MB / 377.6 MB, free: 3.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006217/0.01646, allocations: 3.533 MB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007071/0.01716, allocations: 47.62 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.01845, allocations: 381.5 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.02072, allocations: 0.9052 MB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.02196, allocations: 0.5014 MB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002417/0.02438, allocations: 1.85 MB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.0256, allocations: 0.7394 MB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.02729, allocations: 1.013 MB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.0288, allocations: 0.8727 MB / 387.4 MB, free: 9.168 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002806/0.02908, allocations: 104 kB / 387.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.0302, allocations: 0.5847 MB / 388.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006612/0.03086, allocations: 0.6819 MB / 388.8 MB, free: 7.797 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008127/0.03167, allocations: 0.491 MB / 389.2 MB, free: 7.305 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002389/0.03406, allocations: 1.46 MB / 390.7 MB, free: 5.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.03407, allocations: 0 / 390.7 MB, free: 5.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.03407, allocations: 0 / 390.7 MB, free: 5.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.45e-05/0.03412, allocations: 4 kB / 390.7 MB, free: 5.836 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.002995/0.03712, allocations: 1.711 MB / 392.4 MB, free: 4.082 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.03716, allocations: 15.97 kB / 392.4 MB, free: 4.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.03899, allocations: 431.6 kB / 392.9 MB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.04085, allocations: 0.876 MB / 393.7 MB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.04092, allocations: 82.47 kB / 393.8 MB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000309/0.04123, allocations: 135.8 kB / 394 MB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.04303, allocations: 0.9751 MB / 394.9 MB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.664e-05/0.04308, allocations: 7.953 kB / 394.9 MB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.04318, allocations: 47.98 kB / 395 MB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002683/0.04345, allocations: 102.1 kB / 395.1 MB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.04488, allocations: 0.532 MB / 395.6 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006345/0.05123, allocations: 4.835 MB / 400.4 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006788/0.05802, allocations: 345.6 kB / 400.8 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.05832, allocations: 193.3 kB / 401 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.05836, allocations: 12.66 kB / 401 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.0584, allocations: 46.05 kB / 401 MB, free: 11.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.435e-06/0.0584, allocations: 0 / 401 MB, free: 11.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.007541/0.06594, allocations: 2.189 MB / 403.2 MB, free: 8.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.06599, allocations: 85.77 kB / 403.3 MB, free: 8.715 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006708/0.07269, allocations: 0.6867 MB / 404 MB, free: 8.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.07274, allocations: 41.7 kB / 404 MB, free: 7.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.07311, allocations: 0.6664 MB / 404.7 MB, free: 7.293 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.07331, allocations: 293.6 kB / 405 MB, free: 7.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.07355, allocations: 188.2 kB / 405.2 MB, free: 6.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.07376, allocations: 0.5859 MB / 405.8 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.07407, allocations: 161.8 kB / 405.9 MB, free: 6.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/0.07458, allocations: 0.5504 MB / 406.5 MB, free: 5.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007076/0.08165, allocations: 0.7987 MB / 407.3 MB, free: 4.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.08166, allocations: 4 kB / 407.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002481/0.08414, allocations: 1.159 MB / 408.4 MB, free: 3.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.08417, allocations: 8 kB / 408.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007681/0.09185, allocations: 0.7742 MB / 409.2 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007736/0.09958, allocations: 0.5332 MB / 409.7 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.1001, allocations: 171.7 kB / 409.9 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/0.1173, allocations: 9.199 MB / 419.1 MB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006872/0.118, allocations: 47.97 kB / 419.2 MB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.1181, allocations: 43.98 kB / 419.2 MB, free: 7.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * 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): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004056/0.1185, allocations: 216.3 kB / 419.4 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.1187, allocations: 115.4 kB / 419.5 MB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.12, allocations: 0.7888 MB / 420.3 MB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.12, allocations: 8 kB / 420.3 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.12, allocations: 7.938 kB / 420.3 MB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.12, allocations: 3.984 kB / 420.3 MB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.1222, allocations: 1.709 MB / 422 MB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1222, allocations: 0 / 422 MB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.1224, allocations: 108 kB / 422.1 MB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005901/0.123, allocations: 305.4 kB / 422.4 MB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.1231, allocations: 35.92 kB / 422.5 MB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004432/0.1275, allocations: 10.06 MB / 432.5 MB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.1275, allocations: 7.938 kB / 432.5 MB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.1287, allocations: 1.106 MB / 433.7 MB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.129, allocations: 139.4 kB / 433.8 MB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.129, allocations: 23.98 kB / 433.8 MB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.1292, allocations: 27.97 kB / 433.8 MB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.1293, allocations: 68.53 kB / 433.9 MB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.1294, allocations: 27.92 kB / 433.9 MB, free: 8.324 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003519/0.1297, allocations: 426.9 kB / 434.4 MB, free: 7.914 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1297, allocations: 0 / 434.4 MB, free: 7.914 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00104/0.1308, allocations: 359.9 kB / 434.7 MB, free: 7.562 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00029/0.1311, allocations: 150.3 kB / 434.9 MB, free: 7.406 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.1324, allocations: 1.416 MB / 436.3 MB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1324, allocations: 0 / 436.3 MB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008333/0.1332, allocations: 1.21 MB / 437.5 MB, free: 4.617 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.1338, allocations: 197.5 kB / 437.7 MB, free: 4.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.1369, allocations: 2.282 MB / 440 MB, free: 2.074 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1372, allocations: 339.3 kB / 440.3 MB, free: 1.719 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003282/0.1375, allocations: 187.2 kB / 440.5 MB, free: 1.531 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.1376, allocations: 68.47 kB / 440.5 MB, free: 1.465 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.1376, allocations: 0 / 440.5 MB, free: 1.465 MB / 410.7 MB Notification: Performance of Templates: time 0.145/0.2827, allocations: 14.98 MB / 455.5 MB, free: 92.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6354650678113103]