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.0009394/0.0009394, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001053/0.001053, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2571/0.2571, allocations: 29.41 MB / 291.2 MB, free: 2.418 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.292e-06/1.292e-06, allocations: 0 / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.111e-05, allocations: 2.312 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.007848/0.007869, allocations: 8.257 MB / 325.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005801/0.01367, allocations: 3.269 MB / 328.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.01468, allocations: 55.56 kB / 328.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.01589, allocations: 357.4 kB / 328.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.01787, allocations: 0.8233 MB / 329.6 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.01893, allocations: 483 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00235/0.02128, allocations: 1.913 MB / 332 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.02268, allocations: 0.9713 MB / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.02435, allocations: 1.083 MB / 334.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.02549, allocations: 0.7011 MB / 334.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002426/0.02574, allocations: 140 kB / 334.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007586/0.02649, allocations: 411.4 kB / 335.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004469/0.02694, allocations: 0.522 MB / 335.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005703/0.02751, allocations: 486.9 kB / 336.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.02924, allocations: 1.312 MB / 337.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.02925, allocations: 0 / 337.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.02925, allocations: 0 / 337.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.575e-05/0.02929, allocations: 0 / 337.6 MB, free: 11.11 MB / 314.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.002347/0.03163, allocations: 1.518 MB / 339.1 MB, free: 9.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.03167, allocations: 11.98 kB / 339.2 MB, free: 9.551 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006754/0.03235, allocations: 244.6 kB / 339.4 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.03349, allocations: 0.6947 MB / 340.1 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/0.03355, allocations: 74.44 kB / 340.2 MB, free: 8.516 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.03376, allocations: 132 kB / 340.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.03491, allocations: 0.9002 MB / 341.2 MB, free: 7.391 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.03494, allocations: 7.984 kB / 341.2 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.529e-05/0.03502, allocations: 40 kB / 341.2 MB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.073e-05/0.03511, allocations: 61.98 kB / 341.3 MB, free: 7.281 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006251/0.03573, allocations: 333.6 kB / 341.6 MB, free: 6.957 MB / 314.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.004554/0.04029, allocations: 3.648 MB / 345.3 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.04083, allocations: 414.2 kB / 345.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.04102, allocations: 130.7 kB / 345.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.646e-05/0.04107, allocations: 12.5 kB / 345.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.0411, allocations: 47.05 kB / 345.9 MB, free: 2.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=64): time 3.657e-06/0.04111, allocations: 0 / 345.9 MB, free: 2.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.002815/0.04392, allocations: 1.217 MB / 347.1 MB, free: 1.246 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/0.04399, allocations: 162.9 kB / 347.2 MB, free: 1.051 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000502/0.04449, allocations: 0.5856 MB / 347.8 MB, free: 468 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.04454, allocations: 37.7 kB / 347.9 MB, free: 424 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.0448, allocations: 498 kB / 348.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.04497, allocations: 265.8 kB / 348.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.04517, allocations: 158.5 kB / 348.8 MB, free: 15.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.04531, allocations: 398.6 kB / 349.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.04547, allocations: 88.81 kB / 349.2 MB, free: 15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.04579, allocations: 409.4 kB / 349.6 MB, free: 14.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/0.04634, allocations: 0.509 MB / 350.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.04634, allocations: 4 kB / 350.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001308/0.04765, allocations: 0.703 MB / 350.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.04768, allocations: 11.94 kB / 350.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.04769, allocations: 8 kB / 350.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.04882, allocations: 387.6 kB / 351.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.04935, allocations: 199.7 kB / 351.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003865/0.05322, allocations: 2.964 MB / 354.4 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.05367, allocations: 39.92 kB / 354.4 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/0.05372, allocations: 28 kB / 354.5 MB, free: 9.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000352/0.05407, allocations: 180.9 kB / 354.7 MB, free: 9.246 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003056/0.05438, allocations: 405.4 kB / 355 MB, free: 8.727 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005249/0.0549, allocations: 0.4986 MB / 355.5 MB, free: 8.117 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.302e-06/0.05491, allocations: 4 kB / 355.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.001104/0.05601, allocations: 0.6797 MB / 356.2 MB, free: 7.422 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.05602, allocations: 12.25 kB / 356.2 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.05603, allocations: 19.94 kB / 356.3 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007495/0.05678, allocations: 367.6 kB / 356.6 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.05716, allocations: 199.7 kB / 356.8 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/0.06034, allocations: 2.89 MB / 359.7 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.06067, allocations: 35.95 kB / 359.7 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.06071, allocations: 27.98 kB / 359.8 MB, free: 3.785 MB / 330.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.0001823/0.06089, allocations: 236 kB / 360 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.061, allocations: 71.88 kB / 360.1 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005263/0.06153, allocations: 418.7 kB / 360.5 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.06153, allocations: 8 kB / 360.5 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.06154, allocations: 0 / 360.5 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.06154, allocations: 3.984 kB / 360.5 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.06284, allocations: 0.998 MB / 361.5 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.06285, allocations: 4 kB / 361.5 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.06334, allocations: 183.8 kB / 361.7 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.06334, allocations: 4 kB / 361.7 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.06338, allocations: 19.98 kB / 361.7 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.06338, allocations: 4 kB / 361.7 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.06339, allocations: 3.938 kB / 361.7 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.06404, allocations: 0.7299 MB / 362.4 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.06421, allocations: 107.4 kB / 362.5 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.06427, allocations: 16 kB / 362.6 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.06448, allocations: 31.92 kB / 362.6 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.06454, allocations: 48.56 kB / 362.6 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.06457, allocations: 12 kB / 362.6 MB, free: 0.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002259/0.06479, allocations: 276.5 kB / 362.9 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06479, allocations: 0 / 362.9 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001059/0.06585, allocations: 471.9 kB / 363.4 MB, free: 104 kB / 330.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.0002327/0.06608, allocations: 122.8 kB / 363.5 MB, free: 15.97 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.0676, allocations: 1.322 MB / 364.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.888e-05/0.06762, allocations: 8.5 kB / 364.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.06781, allocations: 185.8 kB / 365 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006397/0.06845, allocations: 247.1 kB / 365.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.07122, allocations: 1.992 MB / 367.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.07145, allocations: 292.5 kB / 367.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000395/0.07185, allocations: 130.9 kB / 367.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.07224, allocations: 241.2 kB / 367.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.272e-06/0.07224, allocations: 3.938 kB / 367.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of Templates: time 0.02186/0.0941, allocations: 17.85 MB / 385.7 MB, free: 9.902 MB / 362.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0894090328365564]