Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.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.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009109/0.000911, allocations: 173.5 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.244/1.244, allocations: 205.4 MB / 222.2 MB, free: 9.027 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.000719/0.0007191, allocations: 97.09 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1618/0.1618, allocations: 38.07 MB / 356.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003211, allocations: 15.98 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2218, allocations: 56.31 MB / 479.6 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004605/0.2264, allocations: 4.618 MB / 484.2 MB, free: 6.211 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.2285, allocations: 1.463 MB / 485.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003519/0.2289, allocations: 23.12 kB / 485.7 MB, free: 5.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.2293, allocations: 99 kB / 485.8 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006951/0.23, allocations: 266.1 kB / 486.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.2305, allocations: 183.9 kB / 486.3 MB, free: 4.883 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006787/0.2312, allocations: 0.6717 MB / 486.9 MB, free: 4.641 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007658/0.232, allocations: 0.5263 MB / 487.5 MB, free: 4.305 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003025/0.2323, allocations: 211.2 kB / 487.7 MB, free: 4.219 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004139/0.2327, allocations: 280.3 kB / 487.9 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.2327, allocations: 16.44 kB / 488 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.233, allocations: 121.9 kB / 488.1 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.2332, allocations: 189.1 kB / 488.3 MB, free: 4.039 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.2334, allocations: 214 kB / 488.5 MB, free: 3.906 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.2338, allocations: 385.4 kB / 488.8 MB, free: 3.824 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2338, allocations: 1.375 kB / 488.8 MB, free: 3.824 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2338, allocations: 0 / 488.8 MB, free: 3.824 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2338, allocations: 0 / 488.8 MB, free: 3.824 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.0008393/0.2347, allocations: 0.6348 MB / 489.5 MB, free: 3.293 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2347, allocations: 9.625 kB / 489.5 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004993/0.2352, allocations: 83.22 kB / 489.6 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.2357, allocations: 393.8 kB / 490 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.2357, allocations: 22.22 kB / 490 MB, free: 2.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.2359, allocations: 51.48 kB / 490 MB, free: 2.949 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000651/0.2365, allocations: 479.1 kB / 490.5 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.2365, allocations: 5.312 kB / 490.5 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.2366, allocations: 10.75 kB / 490.5 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.559e-05/0.2367, allocations: 29.89 kB / 490.5 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.2372, allocations: 346.5 kB / 490.9 MB, free: 2.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.2391, allocations: 1.736 MB / 492.6 MB, free: 1.352 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.2393, allocations: 158.6 kB / 492.8 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.2395, allocations: 110.5 kB / 492.9 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.2395, allocations: 5.438 kB / 492.9 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.2395, allocations: 36.47 kB / 492.9 MB, free: 1.156 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.2395, allocations: 0 / 492.9 MB, free: 1.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001292/0.2408, allocations: 0.8829 MB / 493.8 MB, free: 0.543 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.2409, allocations: 88.64 kB / 493.9 MB, free: 452 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.2412, allocations: 303.9 kB / 494.2 MB, free: 292 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.2412, allocations: 31.05 kB / 494.2 MB, free: 256 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.2413, allocations: 256.6 kB / 494.5 MB, free: 40 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.2414, allocations: 62.06 kB / 494.5 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.2414, allocations: 5.844 kB / 494.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.2416, allocations: 348.1 kB / 494.9 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.2417, allocations: 96.84 kB / 495 MB, free: 15.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.242, allocations: 201.7 kB / 495.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.2424, allocations: 325.2 kB / 495.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2424, allocations: 1.906 kB / 495.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008547/0.2432, allocations: 474.8 kB / 495.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2432, allocations: 6.344 kB / 496 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005957/0.2438, allocations: 312.7 kB / 496.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004707/0.2443, allocations: 131.7 kB / 496.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.2445, allocations: 61.06 kB / 496.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.2471, allocations: 2.198 MB / 498.6 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.2473, allocations: 21.23 kB / 498.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.2474, allocations: 18.97 kB / 498.7 MB, free: 13.17 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.0002287/0.2476, allocations: 192.5 kB / 498.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.2477, allocations: 29.77 kB / 498.9 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/0.2481, allocations: 267.2 kB / 499.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2481, allocations: 6.219 kB / 499.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2481, allocations: 1.281 kB / 499.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2481, allocations: 0.9375 kB / 499.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.2493, allocations: 0.7426 MB / 499.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.2493, allocations: 0.8125 kB / 499.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.2495, allocations: 37.28 kB / 500 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.8e-05/0.2496, allocations: 41.27 kB / 500 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.2496, allocations: 7.266 kB / 500 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.2496, allocations: 6.406 kB / 0.4883 GB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.2496, allocations: 1.984 kB / 0.4883 GB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/0.2502, allocations: 438 kB / 0.4887 GB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/0.2503, allocations: 107.4 kB / 0.4888 GB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.2503, allocations: 12.78 kB / 0.4888 GB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.2505, allocations: 10.58 kB / 0.4888 GB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.2505, allocations: 18.88 kB / 0.4888 GB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.2505, allocations: 4.469 kB / 0.4889 GB, free: 11.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000217/0.2508, allocations: 220.3 kB / 0.4891 GB, free: 11.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2508, allocations: 0 / 0.4891 GB, free: 11.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004313/0.2512, allocations: 86.72 kB / 0.4891 GB, free: 11.84 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): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000102/0.2513, allocations: 106 kB / 0.4892 GB, free: 11.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006559/0.252, allocations: 404.8 kB / 0.4896 GB, free: 11.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.252, allocations: 256 / 0.4896 GB, free: 11.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.2522, allocations: 187.2 kB / 0.4898 GB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.2527, allocations: 61.95 kB / 0.4899 GB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.2542, allocations: 1.127 MB / 0.491 GB, free: 10.58 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.2546, allocations: 0.8449 MB / 0.4918 GB, free: 9.805 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.2547, allocations: 28.56 kB / 0.4918 GB, free: 9.797 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2547, allocations: 1.219 kB / 0.4918 GB, free: 9.797 MB / 330.7 MB Notification: Performance of Templates: time 0.008258/0.2629, allocations: 5.662 MB / 0.4974 GB, free: 6.859 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)