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.001209/0.001208, allocations: 103.2 kB / 17.06 MB, free: 5.742 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.001161/0.001161, allocations: 194.9 kB / 18 MB, free: 4.91 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.587/1.587, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1686/0.1686, allocations: 38 MB / 309.2 MB, free: 5.941 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.00176/0.00176, allocations: 71.89 kB / 431.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1512, allocations: 55.24 MB / 487.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006599/0.1578, allocations: 4.593 MB / 491.7 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.1604, allocations: 1.352 MB / 493.1 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.1606, allocations: 19.88 kB / 493.1 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.1619, allocations: 402.8 kB / 493.5 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005888/0.1625, allocations: 250.8 kB / 493.7 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.163, allocations: 167.6 kB / 493.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006188/0.1636, allocations: 0.5607 MB / 494.4 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005105/0.1641, allocations: 293.2 kB / 494.7 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003584/0.1645, allocations: 267 kB / 495 MB, free: 436 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.165, allocations: 271 kB / 495.2 MB, free: 164 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.165, allocations: 32 kB / 495.3 MB, free: 132 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.1653, allocations: 131.8 kB / 495.4 MB, free: 0 / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.1656, allocations: 187.6 kB / 495.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.1658, allocations: 214.9 kB / 495.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006065/0.1664, allocations: 0.5099 MB / 496.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1665, allocations: 4 kB / 496.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1665, allocations: 0 / 496.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1665, allocations: 0 / 496.3 MB, free: 15.09 MB / 382.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.001168/0.1676, allocations: 0.6952 MB / 497 MB, free: 14.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1677, allocations: 11.89 kB / 497 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006335/0.1683, allocations: 88.3 kB / 497.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.1691, allocations: 415.1 kB / 497.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.1691, allocations: 29.38 kB / 497.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.1693, allocations: 48.11 kB / 497.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006565/0.1699, allocations: 468.8 kB / 498 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.17, allocations: 7.984 kB / 498.1 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.17, allocations: 12 kB / 498.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.1701, allocations: 24.98 kB / 498.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00052/0.1706, allocations: 347.7 kB / 498.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.173, allocations: 1.694 MB / 0.4884 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.1733, allocations: 153.1 kB / 0.4885 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.1735, allocations: 101.7 kB / 0.4886 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1735, allocations: 11.86 kB / 0.4887 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1736, allocations: 38.56 kB / 0.4887 GB, free: 10.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.1736, allocations: 0 / 0.4887 GB, free: 10.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001614/0.1752, allocations: 0.8493 MB / 0.4895 GB, free: 9.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.1753, allocations: 85.11 kB / 0.4896 GB, free: 9.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.1756, allocations: 300.5 kB / 0.4899 GB, free: 9.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1756, allocations: 29.7 kB / 0.4899 GB, free: 9.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.1758, allocations: 255.4 kB / 0.4902 GB, free: 9.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.1758, allocations: 63.31 kB / 0.4902 GB, free: 9.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/0.1759, allocations: 61.89 kB / 0.4903 GB, free: 8.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1761, allocations: 342.8 kB / 0.4906 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1763, allocations: 96.16 kB / 0.4907 GB, free: 8.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.1765, allocations: 189.4 kB / 0.4909 GB, free: 8.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.1769, allocations: 316.6 kB / 0.4912 GB, free: 7.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1769, allocations: 0 / 0.4912 GB, free: 7.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008195/0.1777, allocations: 461.6 kB / 0.4916 GB, free: 7.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1777, allocations: 8 kB / 0.4916 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005594/0.1783, allocations: 288.8 kB / 0.4919 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004799/0.1788, allocations: 132.8 kB / 0.492 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.179, allocations: 55.91 kB / 0.4921 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/0.1819, allocations: 2.38 MB / 0.4944 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1821, allocations: 15.98 kB / 0.4944 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.1821, allocations: 11.94 kB / 0.4944 GB, free: 4.457 MB / 382.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.0002097/0.1824, allocations: 193.7 kB / 0.4946 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.1824, allocations: 23.72 kB / 0.4946 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.1828, allocations: 250.5 kB / 0.4949 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1829, allocations: 8 kB / 0.4949 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1829, allocations: 3.938 kB / 0.4949 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1829, allocations: 0 / 0.4949 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.184, allocations: 0.7156 MB / 0.4956 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.184, allocations: 7.984 kB / 0.4956 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.1842, allocations: 39.98 kB / 0.4956 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.1844, allocations: 28.84 kB / 0.4957 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.1844, allocations: 7.984 kB / 0.4957 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.1856, allocations: 1.592 MB / 0.4972 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1857, allocations: 4.031 kB / 0.4972 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.1862, allocations: 426.4 kB / 0.4976 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/0.1863, allocations: 100.7 kB / 0.4977 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.1863, allocations: 15.97 kB / 0.4978 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.1865, allocations: 4 kB / 0.4978 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.1865, allocations: 15.98 kB / 0.4978 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1866, allocations: 8 kB / 0.4978 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.1868, allocations: 215 kB / 0.498 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1868, allocations: 0 / 0.498 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004638/0.1872, allocations: 88 kB / 0.4981 GB, free: 472 kB / 382.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.000124/0.1874, allocations: 103.2 kB / 0.4982 GB, free: 360 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007334/0.1881, allocations: 394.3 kB / 0.4985 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1881, allocations: 0 / 0.4985 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.1885, allocations: 240.3 kB / 0.4988 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.189, allocations: 73.25 kB / 0.4988 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.1904, allocations: 0.8546 MB / 0.4997 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.1908, allocations: 0.8457 MB / 0.5005 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.191, allocations: 62.91 kB / 0.5006 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.1911, allocations: 23.44 kB / 0.5006 GB, free: 13.78 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1911, allocations: 0 / 0.5006 GB, free: 13.78 MB / 398.1 MB Notification: Performance of Templates: time 0.008314/0.1994, allocations: 4.017 MB / 0.5045 GB, free: 9.758 MB / 398.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)