Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008969/0.000897, allocations: 172.2 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.222/1.222, allocations: 205.4 MB / 222.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00069/0.0006899, allocations: 83.41 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1615/0.1615, allocations: 38.08 MB / 356.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 12 kB / 423.3 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2349, allocations: 56.32 MB / 479.6 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004593/0.2396, allocations: 4.637 MB / 484.3 MB, free: 6.195 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.242, allocations: 1.469 MB / 485.7 MB, free: 5.148 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.2424, allocations: 22.25 kB / 485.8 MB, free: 5.141 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.2429, allocations: 99.06 kB / 485.9 MB, free: 5.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008389/0.2437, allocations: 271.3 kB / 486.1 MB, free: 4.941 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006221/0.2444, allocations: 172 kB / 486.3 MB, free: 4.867 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008543/0.2452, allocations: 0.6591 MB / 486.9 MB, free: 4.625 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008801/0.2461, allocations: 0.5315 MB / 487.5 MB, free: 4.285 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.2466, allocations: 211.4 kB / 487.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005392/0.2471, allocations: 279.4 kB / 488 MB, free: 4.102 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/0.2472, allocations: 17.06 kB / 488 MB, free: 4.102 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.2475, allocations: 122.5 kB / 488.1 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.2477, allocations: 174 kB / 488.3 MB, free: 4.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.2479, allocations: 217 kB / 488.5 MB, free: 3.887 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.2484, allocations: 383.6 kB / 488.8 MB, free: 3.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2484, allocations: 7.938 kB / 488.9 MB, free: 3.797 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2484, allocations: 0 / 488.9 MB, free: 3.797 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.2484, allocations: 0 / 488.9 MB, free: 3.797 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.0009279/0.2493, allocations: 0.6233 MB / 489.5 MB, free: 3.277 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2494, allocations: 8.25 kB / 489.5 MB, free: 3.277 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005476/0.2499, allocations: 83.94 kB / 489.6 MB, free: 3.254 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.2505, allocations: 399.8 kB / 490 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.2505, allocations: 27.11 kB / 490 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.2506, allocations: 46.58 kB / 490 MB, free: 2.926 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006616/0.2513, allocations: 470.4 kB / 490.5 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2513, allocations: 5.781 kB / 490.5 MB, free: 2.691 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.2514, allocations: 20.42 kB / 490.5 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.857e-05/0.2515, allocations: 23.33 kB / 490.5 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005118/0.252, allocations: 338.3 kB / 490.9 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.254, allocations: 1.709 MB / 492.6 MB, free: 1.336 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.2543, allocations: 147.4 kB / 492.7 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.2544, allocations: 102.5 kB / 492.8 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.2545, allocations: 11.02 kB / 492.8 MB, free: 1.195 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2545, allocations: 35.41 kB / 492.9 MB, free: 1.152 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.845e-06/0.2545, allocations: 5.297 kB / 492.9 MB, free: 1.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001297/0.2558, allocations: 0.8561 MB / 493.7 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.2558, allocations: 80.38 kB / 493.8 MB, free: 456 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.2561, allocations: 302.1 kB / 494.1 MB, free: 292 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2561, allocations: 30.7 kB / 494.1 MB, free: 256 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.2563, allocations: 245.1 kB / 494.4 MB, free: 52 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.203e-05/0.2563, allocations: 71.08 kB / 494.4 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.2564, allocations: 5.438 kB / 494.4 MB, free: 15.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2565, allocations: 347.8 kB / 494.8 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.2566, allocations: 92 kB / 494.9 MB, free: 15.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.2569, allocations: 193.3 kB / 495.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.2573, allocations: 309.1 kB / 495.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2573, allocations: 1 kB / 495.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000851/0.2581, allocations: 455.8 kB / 495.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2582, allocations: 6.859 kB / 495.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000573/0.2588, allocations: 287.3 kB / 496.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004452/0.2592, allocations: 129.6 kB / 496.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.2594, allocations: 56.61 kB / 496.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.262, allocations: 2.147 MB / 498.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.2622, allocations: 13.05 kB / 498.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.2622, allocations: 15.22 kB / 498.5 MB, free: 13.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.2625, allocations: 203 kB / 498.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.2625, allocations: 25.44 kB / 498.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.263, allocations: 256.8 kB / 498.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.263, allocations: 1.25 kB / 498.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.263, allocations: 1.688 kB / 498.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.263, allocations: 5.562 kB / 498.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.2641, allocations: 0.7137 MB / 499.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.2641, allocations: 9.031 kB / 499.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.2643, allocations: 38.61 kB / 499.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.735e-05/0.2644, allocations: 30.05 kB / 499.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.2645, allocations: 7.562 kB / 499.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.2656, allocations: 1.49 MB / 0.4895 GB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2656, allocations: 1.125 kB / 0.4895 GB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.2661, allocations: 417.9 kB / 0.4899 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/0.2662, allocations: 111.7 kB / 0.49 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.2663, allocations: 4 kB / 0.49 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.2664, allocations: 10.39 kB / 0.49 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.2664, allocations: 14.3 kB / 0.49 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.2665, allocations: 8.406 kB / 0.49 GB, free: 10.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002138/0.2667, allocations: 213 kB / 0.4902 GB, free: 10.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2667, allocations: 3.938 kB / 0.4902 GB, free: 10.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004501/0.2672, allocations: 87.66 kB / 0.4903 GB, free: 10.49 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001191/0.2673, allocations: 105.2 kB / 0.4904 GB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006459/0.2679, allocations: 390 kB / 0.4908 GB, free: 10.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2679, allocations: 192 / 0.4908 GB, free: 10.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.2683, allocations: 231.6 kB / 0.491 GB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.2687, allocations: 55.34 kB / 0.4911 GB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.2703, allocations: 1.126 MB / 0.4922 GB, free: 9.234 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.2707, allocations: 0.8418 MB / 0.493 GB, free: 8.461 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.2708, allocations: 24.59 kB / 0.493 GB, free: 8.457 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2708, allocations: 0 / 0.493 GB, free: 8.457 MB / 330.7 MB Notification: Performance of Templates: time 0.008737/0.2795, allocations: 5.67 MB / 0.4985 GB, free: 5.512 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)