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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001511, allocations: 114.2 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2076/0.2076, allocations: 37.98 MB / 309.8 MB, free: 5.977 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 63.91 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2971, allocations: 55.24 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.00549/0.3026, allocations: 4.602 MB / 436.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3046, allocations: 1.352 MB / 438 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.3048, allocations: 19.88 kB / 438 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.3059, allocations: 394.3 kB / 438.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004696/0.3064, allocations: 246.8 kB / 438.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.3068, allocations: 179.6 kB / 438.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.3073, allocations: 0.5646 MB / 439.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.3077, allocations: 285.2 kB / 439.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.308, allocations: 250.9 kB / 439.9 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.3084, allocations: 279.1 kB / 440.2 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.3084, allocations: 35.94 kB / 440.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.3087, allocations: 131.8 kB / 440.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.3088, allocations: 183.5 kB / 440.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.309, allocations: 211 kB / 440.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004306/0.3094, allocations: 0.5101 MB / 441.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3094, allocations: 3.938 kB / 441.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3094, allocations: 0 / 441.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.597e-06/0.3095, allocations: 0 / 441.2 MB, free: 10.27 MB / 318.1 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.00102/0.3105, allocations: 0.6969 MB / 441.9 MB, free: 9.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3105, allocations: 15.89 kB / 441.9 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005307/0.3111, allocations: 84.3 kB / 442 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006137/0.3117, allocations: 423.1 kB / 442.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.3117, allocations: 21.38 kB / 442.5 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.3119, allocations: 48.11 kB / 442.5 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005921/0.3125, allocations: 476.8 kB / 443 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.3125, allocations: 0 / 443 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.3125, allocations: 16 kB / 443 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.3127, allocations: 24.98 kB / 443 MB, free: 8.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.3131, allocations: 335.7 kB / 443.3 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.3153, allocations: 1.702 MB / 445 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.3156, allocations: 149.1 kB / 445.2 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.3158, allocations: 105.7 kB / 445.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.3159, allocations: 11.94 kB / 445.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.3159, allocations: 38.55 kB / 445.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.3159, allocations: 0 / 445.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001491/0.3174, allocations: 0.8503 MB / 446.2 MB, free: 4.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.3175, allocations: 77.11 kB / 446.3 MB, free: 4.871 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.3178, allocations: 308.5 kB / 446.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.3178, allocations: 29.7 kB / 446.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.318, allocations: 251.5 kB / 446.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.318, allocations: 63.11 kB / 446.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.406e-05/0.3181, allocations: 69.81 kB / 447 MB, free: 4.141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3183, allocations: 342.8 kB / 447.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3184, allocations: 88.23 kB / 447.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.3186, allocations: 197.3 kB / 447.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.3189, allocations: 312.6 kB / 447.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.319, allocations: 4 kB / 447.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007366/0.3197, allocations: 453.4 kB / 448.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.3197, allocations: 8.438 kB / 448.3 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004915/0.3202, allocations: 289.6 kB / 448.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004336/0.3207, allocations: 132.7 kB / 448.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.3209, allocations: 51.92 kB / 448.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/0.3234, allocations: 2.383 MB / 451.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.3236, allocations: 8 kB / 451.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.3236, allocations: 15.94 kB / 451.2 MB, free: 15.64 MB / 334.1 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.0002685/0.3239, allocations: 193.9 kB / 451.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.324, allocations: 39.55 kB / 451.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004779/0.3245, allocations: 241.4 kB / 451.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.3245, allocations: 7.984 kB / 451.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3245, allocations: 3.938 kB / 451.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3245, allocations: 0 / 451.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.326, allocations: 0.7233 MB / 452.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3261, allocations: 7.875 kB / 452.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.3263, allocations: 35.98 kB / 452.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.3264, allocations: 32.89 kB / 452.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.3264, allocations: 8 kB / 452.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.3278, allocations: 1.592 MB / 454.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3278, allocations: 0 / 454.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.3284, allocations: 422.4 kB / 454.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.3285, allocations: 100.9 kB / 454.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.3286, allocations: 7.938 kB / 454.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3287, allocations: 7.984 kB / 454.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.3288, allocations: 16.08 kB / 454.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3288, allocations: 7.984 kB / 454.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.329, allocations: 219.1 kB / 454.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.329, allocations: 0 / 454.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000469/0.3295, allocations: 88 kB / 454.9 MB, free: 11.65 MB / 334.1 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.0001353/0.3296, allocations: 103.2 kB / 455 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008281/0.3305, allocations: 402.4 kB / 455.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3305, allocations: 0 / 455.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.3308, allocations: 227.4 kB / 455.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.3314, allocations: 69.88 kB / 455.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.3329, allocations: 0.8738 MB / 456.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.3334, allocations: 0.838 MB / 457.4 MB, free: 9.051 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.3336, allocations: 58.92 kB / 457.5 MB, free: 8.992 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.3336, allocations: 27.44 kB / 457.5 MB, free: 8.969 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3336, allocations: 4 kB / 457.5 MB, free: 8.965 MB / 334.1 MB Notification: Performance of Templates: time 0.008501/0.3421, allocations: 3.947 MB / 461.5 MB, free: 5.031 MB / 334.1 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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)