Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 105.5 kB / 16.03 MB, free: 6.258 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.001645/0.001645, allocations: 197 kB / 16.95 MB, free: 6.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04134/0.04134, allocations: 8.091 MB / 298.9 MB, free: 6.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 361.3 MB, free: 8.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1668, allocations: 51.52 MB / 412.8 MB, free: 25.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001858/0.1687, allocations: 1.277 MB / 414.1 MB, free: 24.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1698, allocations: 1.466 MB / 415.6 MB, free: 22.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.1699, allocations: 4 kB / 415.6 MB, free: 22.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.1701, allocations: 91.67 kB / 415.7 MB, free: 22.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.1703, allocations: 71.59 kB / 415.7 MB, free: 22.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.1714, allocations: 0.8405 MB / 416.6 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1715, allocations: 159.2 kB / 416.7 MB, free: 21.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1716, allocations: 54.08 kB / 416.8 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.1717, allocations: 71.72 kB / 416.9 MB, free: 21.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.534e-05/0.1718, allocations: 75.69 kB / 416.9 MB, free: 21.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.1718, allocations: 12 kB / 417 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.172, allocations: 199.8 kB / 417.1 MB, free: 21.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.1721, allocations: 39.78 kB / 417.2 MB, free: 21.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.1721, allocations: 71.66 kB / 417.3 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.1724, allocations: 305.4 kB / 417.6 MB, free: 20.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1724, allocations: 4 kB / 417.6 MB, free: 20.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1724, allocations: 0 / 417.6 MB, free: 20.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1724, allocations: 0 / 417.6 MB, free: 20.94 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001331/0.1738, allocations: 0.6318 MB / 418.2 MB, free: 20.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.1738, allocations: 15.89 kB / 418.2 MB, free: 20.24 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.1738, allocations: 42.73 kB / 418.2 MB, free: 20.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.1739, allocations: 16.75 kB / 418.3 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.1741, allocations: 230.4 kB / 418.5 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1741, allocations: 12.61 kB / 418.5 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1741, allocations: 12.38 kB / 418.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.1743, allocations: 175.4 kB / 418.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1743, allocations: 4 kB / 418.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.1744, allocations: 4 kB / 418.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1744, allocations: 15.88 kB / 418.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.1746, allocations: 152.6 kB / 418.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006955/0.1753, allocations: 0.7108 MB / 419.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.1757, allocations: 210.4 kB / 419.8 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.882e-05/0.1758, allocations: 88.84 kB / 419.9 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.1758, allocations: 0 / 419.9 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.1758, allocations: 38.56 kB / 419.9 MB, free: 18.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.1759, allocations: 0 / 419.9 MB, free: 18.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001442/0.1773, allocations: 0.5723 MB / 420.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.716e-05/0.1773, allocations: 55.39 kB / 420.5 MB, free: 17.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1774, allocations: 165.9 kB / 420.7 MB, free: 17.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1775, allocations: 37.64 kB / 420.7 MB, free: 17.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.1775, allocations: 116.3 kB / 420.8 MB, free: 17.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.1775, allocations: 59.19 kB / 420.9 MB, free: 17.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.1776, allocations: 45.69 kB / 420.9 MB, free: 17.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.1777, allocations: 322.8 kB / 421.3 MB, free: 16.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.1778, allocations: 91.97 kB / 421.3 MB, free: 16.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1779, allocations: 95.83 kB / 421.4 MB, free: 16.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.1781, allocations: 212.8 kB / 421.6 MB, free: 16.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1781, allocations: 4 kB / 421.6 MB, free: 16.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006754/0.1788, allocations: 380.8 kB / 422 MB, free: 16.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1788, allocations: 10.44 kB / 422 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.1788, allocations: 3.938 kB / 422 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005719/0.1794, allocations: 140.7 kB / 422.2 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1795, allocations: 23.98 kB / 422.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.1812, allocations: 2.039 MB / 424.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.1813, allocations: 11.84 kB / 424.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.1814, allocations: 11.98 kB / 424.3 MB, free: 13.82 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.1814, allocations: 129.7 kB / 424.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.1815, allocations: 15.81 kB / 424.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006918/0.1822, allocations: 359.3 kB / 424.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1822, allocations: 4 kB / 424.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1822, allocations: 3.938 kB / 424.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1822, allocations: 3.938 kB / 424.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.1824, allocations: 301.3 kB / 425.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1824, allocations: 0 / 425.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-05/0.1825, allocations: 27.92 kB / 425.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000516/0.183, allocations: 132.7 kB / 425.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.183, allocations: 8 kB / 425.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.1845, allocations: 2.008 MB / 427.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1845, allocations: 3.984 kB / 427.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000633/0.1852, allocations: 430 kB / 427.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.1852, allocations: 92.94 kB / 427.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.1852, allocations: 8 kB / 427.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1854, allocations: 8 kB / 427.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.1854, allocations: 15.97 kB / 427.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1854, allocations: 8 kB / 427.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.89e-05/0.1855, allocations: 120.8 kB / 427.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1855, allocations: 7.938 kB / 427.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.1858, allocations: 71.84 kB / 428 MB, free: 9.852 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007987/0.1866, allocations: 0.9667 MB / 428.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005934/0.1872, allocations: 389 kB / 429.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1872, allocations: 0 / 429.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.1876, allocations: 270.5 kB / 429.6 MB, free: 8.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.1879, allocations: 16 kB / 429.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.1903, allocations: 2.407 MB / 432 MB, free: 5.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.1904, allocations: 0.7202 MB / 432.7 MB, free: 4.926 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.147e-05/0.1905, allocations: 21.41 kB / 432.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.1906, allocations: 43.42 kB / 432.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1906, allocations: 0 / 432.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3083/0.4989, allocations: 5.806 MB / 438.6 MB, free: 15.19 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.4991, allocations: 229 kB / 438.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.297, allocations: 4 kB / 438.8 MB, free: 14.92 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)