Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001141/0.001141, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.187/1.187, allocations: 194.2 MB / 212.2 MB, free: 2.352 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001752/0.001752, allocations: 121.8 kB / 256.6 MB, free: 4.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1674/0.1674, allocations: 37.94 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08065/0.08188, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004658/0.08657, allocations: 5.235 MB / 459.2 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.08837, allocations: 1.551 MB / 460.8 MB, free: 9.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.08858, allocations: 23.88 kB / 460.8 MB, free: 9.727 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008644/0.08945, allocations: 378.5 kB / 461.2 MB, free: 9.355 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.08983, allocations: 231 kB / 461.4 MB, free: 9.129 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.09014, allocations: 151.8 kB / 461.5 MB, free: 8.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004802/0.09063, allocations: 0.8338 MB / 462.4 MB, free: 8.145 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003493/0.09099, allocations: 280.8 kB / 462.7 MB, free: 7.875 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.09121, allocations: 230.9 kB / 462.9 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.09155, allocations: 295 kB / 463.2 MB, free: 7.359 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.965e-05/0.09162, allocations: 24 kB / 463.2 MB, free: 7.336 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.09183, allocations: 131.8 kB / 463.3 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.09196, allocations: 179.5 kB / 463.5 MB, free: 7.031 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.09211, allocations: 206.9 kB / 463.7 MB, free: 6.828 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.09246, allocations: 0.5099 MB / 464.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09247, allocations: 0 / 464.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.09248, allocations: 0 / 464.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.09249, allocations: 0 / 464.2 MB, free: 6.316 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009668/0.09346, allocations: 0.703 MB / 464.9 MB, free: 5.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.09351, allocations: 12.03 kB / 464.9 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005517/0.09406, allocations: 84.31 kB / 465 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.0946, allocations: 387.2 kB / 465.4 MB, free: 5.051 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.09462, allocations: 25.38 kB / 465.4 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.09473, allocations: 51.92 kB / 465.5 MB, free: 4.977 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.09526, allocations: 468.8 kB / 465.9 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.09529, allocations: 4 kB / 465.9 MB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.09532, allocations: 16 kB / 465.9 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-05/0.09542, allocations: 24.98 kB / 466 MB, free: 4.445 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.09585, allocations: 339.7 kB / 466.3 MB, free: 4.113 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.09743, allocations: 1.706 MB / 468 MB, free: 2.289 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.09766, allocations: 161.1 kB / 468.2 MB, free: 2.113 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.09779, allocations: 105.7 kB / 468.3 MB, free: 2.004 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.09781, allocations: 4.281 kB / 468.3 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.09784, allocations: 42.5 kB / 468.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.714e-06/0.09784, allocations: 0 / 468.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001102/0.09895, allocations: 0.8491 MB / 469.1 MB, free: 1.023 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.09899, allocations: 81.05 kB / 469.2 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.0992, allocations: 308.4 kB / 469.5 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.09922, allocations: 29.83 kB / 469.6 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.126e-05/0.09931, allocations: 259.4 kB / 469.8 MB, free: 336 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.09935, allocations: 63.19 kB / 469.9 MB, free: 272 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.09943, allocations: 53.89 kB / 469.9 MB, free: 212 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.09953, allocations: 350.7 kB / 470.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.09969, allocations: 88.23 kB / 470.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.09989, allocations: 193.4 kB / 470.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.1002, allocations: 316.6 kB / 470.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1003, allocations: 0 / 470.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007752/0.101, allocations: 457.7 kB / 471.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1011, allocations: 8 kB / 471.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005338/0.1016, allocations: 288.4 kB / 471.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004364/0.1021, allocations: 132.8 kB / 471.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.1022, allocations: 55.91 kB / 471.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/0.1047, allocations: 2.146 MB / 473.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.1049, allocations: 12 kB / 473.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.105, allocations: 12 kB / 473.9 MB, free: 11.94 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.1051, allocations: 189.7 kB / 474.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.1052, allocations: 27.69 kB / 474.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.1056, allocations: 258.5 kB / 474.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1056, allocations: 4 kB / 474.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1057, allocations: 3.938 kB / 474.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.1057, allocations: 7.922 kB / 474.4 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.1068, allocations: 0.7233 MB / 475.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1068, allocations: 8.062 kB / 475.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.107, allocations: 35.98 kB / 475.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.1071, allocations: 32.83 kB / 475.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1071, allocations: 3.938 kB / 475.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.1084, allocations: 1.485 MB / 476.7 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1085, allocations: 0 / 476.7 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.1113, allocations: 2.143 MB / 478.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.1114, allocations: 100.8 kB / 479 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.1115, allocations: 12.03 kB / 479 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.1116, allocations: 4 kB / 479 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.1117, allocations: 15.98 kB / 479 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.1117, allocations: 4 kB / 479 MB, free: 6.492 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000221/0.1119, allocations: 219 kB / 479.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1119, allocations: 0 / 479.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006101/0.1126, allocations: 120 kB / 479.3 MB, free: 6.164 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001252/0.1127, allocations: 103.2 kB / 479.4 MB, free: 6.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006523/0.1133, allocations: 391 kB / 479.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1134, allocations: 0 / 479.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.1137, allocations: 223.4 kB / 480 MB, free: 5.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.1141, allocations: 61.97 kB / 480.1 MB, free: 5.363 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.1158, allocations: 1.291 MB / 481.4 MB, free: 4 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.1162, allocations: 0.838 MB / 482.2 MB, free: 3.133 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001827/0.1164, allocations: 70.92 kB / 482.3 MB, free: 3.066 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.1165, allocations: 27.44 kB / 482.3 MB, free: 3.043 MB / 330.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1165, allocations: 0 / 482.3 MB, free: 3.043 MB / 330.7 MB Notification: Performance of Templates: time 0.007349/0.1238, allocations: 4.206 MB / 486.5 MB, free: 14.84 MB / 346.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)