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.001569/0.001569, allocations: 117.7 kB / 17.7 MB, free: 5.305 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.002203/0.002203, 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.393/1.393, 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.1766/0.1766, allocations: 37.98 MB / 309.8 MB, free: 5.98 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.00233/0.00233, allocations: 68.22 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2094, allocations: 55.23 MB / 432 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004978/0.2145, allocations: 4.605 MB / 436.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.2162, allocations: 1.36 MB / 438 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.2166, allocations: 11.94 kB / 438 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.2176, allocations: 402.2 kB / 438.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005518/0.2182, allocations: 246.8 kB / 438.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.2186, allocations: 175.6 kB / 438.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000556/0.2192, allocations: 0.5529 MB / 439.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/0.2196, allocations: 293.2 kB / 439.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003593/0.2199, allocations: 250.9 kB / 439.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004462/0.2204, allocations: 279 kB / 440.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.615e-05/0.2205, allocations: 32 kB / 440.2 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.2207, allocations: 127.8 kB / 440.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.2209, allocations: 191.5 kB / 440.5 MB, free: 11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.2211, allocations: 211 kB / 440.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004133/0.2215, allocations: 0.5101 MB / 441.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2215, allocations: 0 / 441.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2215, allocations: 0 / 441.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2215, allocations: 0 / 441.2 MB, free: 10.28 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.0009529/0.2225, allocations: 0.7008 MB / 441.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.2225, allocations: 19.88 kB / 441.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005468/0.2231, allocations: 80.33 kB / 442 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006104/0.2237, allocations: 419.1 kB / 442.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.2237, allocations: 21.38 kB / 442.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.2239, allocations: 52.05 kB / 442.5 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.2244, allocations: 472.8 kB / 443 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2244, allocations: 0 / 443 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.2244, allocations: 16 kB / 443 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.506e-05/0.2245, allocations: 28.92 kB / 443 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.225, allocations: 339.7 kB / 443.3 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.2266, allocations: 1.706 MB / 445 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.2268, allocations: 137.2 kB / 445.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.227, allocations: 113.7 kB / 445.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.227, allocations: 11.92 kB / 445.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.227, allocations: 34.56 kB / 445.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.227, allocations: 0 / 445.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001226/0.2283, allocations: 0.8493 MB / 446.2 MB, free: 4.977 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.2283, allocations: 81.11 kB / 446.3 MB, free: 4.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.2285, allocations: 304.5 kB / 446.6 MB, free: 4.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.2285, allocations: 33.7 kB / 446.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/0.2287, allocations: 247.5 kB / 446.8 MB, free: 4.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/0.2287, allocations: 63.11 kB / 446.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.2288, allocations: 69.81 kB / 447 MB, free: 4.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.2288, allocations: 346.8 kB / 447.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.229, allocations: 88.22 kB / 447.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.2291, allocations: 198.4 kB / 447.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.2294, allocations: 312.6 kB / 447.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2294, allocations: 4 kB / 447.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000697/0.2301, allocations: 449.8 kB / 448.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2302, allocations: 12 kB / 448.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004655/0.2306, allocations: 285.6 kB / 448.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/0.231, allocations: 132.7 kB / 448.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.2312, allocations: 47.92 kB / 448.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.2333, allocations: 2.388 MB / 451.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.2335, allocations: 11.94 kB / 451.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.2335, allocations: 23.92 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.0001793/0.2337, allocations: 185.9 kB / 451.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.2338, allocations: 35.61 kB / 451.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.2342, allocations: 253.3 kB / 451.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2342, allocations: 0 / 451.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2342, allocations: 3.938 kB / 451.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2342, allocations: 8 kB / 451.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.2353, allocations: 0.7216 MB / 452.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2353, allocations: 0 / 452.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.2355, allocations: 35.98 kB / 452.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.511e-05/0.2356, allocations: 36.83 kB / 452.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.2357, allocations: 8 kB / 452.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.2368, allocations: 1.592 MB / 454.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2368, allocations: 0 / 454.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.2373, allocations: 422.6 kB / 454.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.2374, allocations: 96.83 kB / 454.6 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.2375, allocations: 15.88 kB / 454.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.2376, allocations: 7.984 kB / 454.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.2377, allocations: 11.98 kB / 454.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.2377, allocations: 4 kB / 454.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.2379, allocations: 219.1 kB / 454.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2379, allocations: 0 / 454.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.2383, allocations: 88 kB / 454.9 MB, free: 11.66 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.0001116/0.2384, allocations: 107.3 kB / 455 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006235/0.2391, allocations: 402.4 kB / 455.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2391, allocations: 0 / 455.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.2394, allocations: 232.1 kB / 455.7 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.0004407/0.2398, allocations: 68.55 kB / 455.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.2411, allocations: 0.8654 MB / 456.6 MB, free: 9.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.2415, allocations: 0.838 MB / 457.4 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.2417, allocations: 62.92 kB / 457.5 MB, free: 9.004 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.2417, allocations: 23.44 kB / 457.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of SimCode: time 1.543e-06/0.2418, allocations: 0 / 457.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of Templates: time 0.007522/0.2493, allocations: 3.952 MB / 461.5 MB, free: 5.043 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 gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)