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.001631/0.001636, allocations: 191.3 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001101/0.001101, allocations: 90.88 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2913/0.2913, allocations: 38.05 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006227/0.000623, allocations: 19.98 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1138, allocations: 56.33 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.008174/0.1221, allocations: 4.439 MB / 483.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003882/0.126, allocations: 1.463 MB / 484.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000437/0.1265, allocations: 23.88 kB / 485 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.127, allocations: 95.39 kB / 485.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008563/0.1278, allocations: 219.3 kB / 485.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.1286, allocations: 159.7 kB / 485.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005795/0.1292, allocations: 295.4 kB / 485.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.1305, allocations: 0.523 MB / 486.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004862/0.131, allocations: 183.3 kB / 486.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.1315, allocations: 179.4 kB / 486.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-05/0.1316, allocations: 16 kB / 486.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.1319, allocations: 75.88 kB / 486.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.1321, allocations: 159.6 kB / 486.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.1323, allocations: 105.5 kB / 486.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006361/0.1329, allocations: 379.1 kB / 487.3 MB, free: 9.699 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.133, allocations: 0 / 487.3 MB, free: 9.699 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.133, allocations: 4 kB / 487.3 MB, free: 9.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.133, allocations: 3.938 kB / 487.3 MB, free: 9.691 MB / 330.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.001479/0.1345, allocations: 0.6328 MB / 487.9 MB, free: 9.004 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1345, allocations: 8.031 kB / 488 MB, free: 8.996 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009169/0.1355, allocations: 91.33 kB / 488 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009775/0.1365, allocations: 394.1 kB / 488.4 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.1365, allocations: 21 kB / 488.4 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.1367, allocations: 47.97 kB / 488.5 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1379, allocations: 460.8 kB / 488.9 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.1379, allocations: 0 / 488.9 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.592e-05/0.138, allocations: 15.95 kB / 489 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001761/0.1382, allocations: 32.98 kB / 489 MB, free: 7.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/0.1391, allocations: 331.7 kB / 489.3 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/0.1427, allocations: 1.714 MB / 491 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.1432, allocations: 149.1 kB / 491.2 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.1432, allocations: 0 / 491.2 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.1433, allocations: 50.55 kB / 491.2 MB, free: 5.504 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.344e-06/0.1433, allocations: 0 / 491.2 MB, free: 5.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.002297/0.1456, allocations: 0.8425 MB / 492.1 MB, free: 4.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.1457, allocations: 85.17 kB / 492.2 MB, free: 4.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.1462, allocations: 300.5 kB / 492.4 MB, free: 4.184 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.1462, allocations: 33.7 kB / 492.5 MB, free: 4.145 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.1465, allocations: 297.9 kB / 492.8 MB, free: 3.852 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.044e-05/0.1466, allocations: 67.08 kB / 492.8 MB, free: 3.785 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.1466, allocations: 8 kB / 492.8 MB, free: 3.777 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1468, allocations: 326.8 kB / 493.2 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.147, allocations: 88.23 kB / 493.2 MB, free: 3.363 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.1474, allocations: 193.2 kB / 493.4 MB, free: 3.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.1477, allocations: 128.6 kB / 493.6 MB, free: 3.004 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.1478, allocations: 7.938 kB / 493.6 MB, free: 2.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001416/0.1492, allocations: 443.8 kB / 494 MB, free: 2.555 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/0.1493, allocations: 8 kB / 494 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009917/0.1503, allocations: 288.9 kB / 494.3 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008017/0.1511, allocations: 124.7 kB / 494.4 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.1515, allocations: 55.91 kB / 494.5 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004434/0.156, allocations: 2.286 MB / 496.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.1564, allocations: 11.98 kB / 496.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.1564, allocations: 19.95 kB / 496.8 MB, free: 15.6 MB / 346.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.0003319/0.1567, allocations: 185.7 kB / 497 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/0.1568, allocations: 35.62 kB / 497 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007274/0.1576, allocations: 245.4 kB / 497.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.1576, allocations: 4 kB / 497.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1576, allocations: 4.188 kB / 497.3 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1576, allocations: 3.953 kB / 497.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.1595, allocations: 0.7312 MB / 498 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1595, allocations: 0 / 498 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.1599, allocations: 43.88 kB / 498 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/0.1601, allocations: 32.77 kB / 498.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.1602, allocations: 8 kB / 498.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.162, allocations: 1.49 MB / 499.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1621, allocations: 4.062 kB / 499.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009483/0.163, allocations: 463.3 kB / 0.4883 GB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.1632, allocations: 104.7 kB / 0.4884 GB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.1633, allocations: 4.031 kB / 0.4884 GB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.1635, allocations: 11.95 kB / 0.4884 GB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.1636, allocations: 11.98 kB / 0.4884 GB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.1636, allocations: 4 kB / 0.4884 GB, free: 11.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003542/0.164, allocations: 219 kB / 0.4886 GB, free: 11.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.164, allocations: 0 / 0.4886 GB, free: 11.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007335/0.1648, allocations: 92 kB / 0.4887 GB, free: 11.66 MB / 346.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.0001697/0.1649, allocations: 107.2 kB / 0.4888 GB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.1661, allocations: 390.9 kB / 0.4892 GB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1661, allocations: 0 / 0.4892 GB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.1666, allocations: 223.4 kB / 0.4894 GB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.1672, allocations: 57.48 kB / 0.4895 GB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.1695, allocations: 1.137 MB / 0.4906 GB, free: 9.684 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.1702, allocations: 0.8419 MB / 0.4914 GB, free: 8.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1704, allocations: 35.42 kB / 0.4914 GB, free: 8.781 MB / 346.7 MB Notification: Performance of SimCode: time 3.196e-06/0.1704, allocations: 0 / 0.4914 GB, free: 8.781 MB / 346.7 MB Notification: Performance of Templates: time 0.01315/0.1835, allocations: 5.503 MB / 0.4968 GB, free: 3.273 MB / 346.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)