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.001072/0.001072, allocations: 105.2 kB / 16.31 MB, free: 5.879 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.001127/0.001127, allocations: 191.2 kB / 17.24 MB, free: 5.539 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.306/1.306, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04331/0.04331, allocations: 8.099 MB / 299.2 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.89 kB / 361.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1721, allocations: 51.51 MB / 413.3 MB, free: 25.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001868/0.174, allocations: 1.224 MB / 414.6 MB, free: 24.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1751, allocations: 1.485 MB / 416.1 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.1752, allocations: 0 / 416.1 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.1754, allocations: 107.4 kB / 416.2 MB, free: 22.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.1756, allocations: 75.52 kB / 416.2 MB, free: 22.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1767, allocations: 0.9018 MB / 417.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1768, allocations: 151.3 kB / 417.3 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1769, allocations: 53.53 kB / 417.3 MB, free: 21.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/0.177, allocations: 67.72 kB / 417.4 MB, free: 21.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1771, allocations: 83.67 kB / 417.5 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.1771, allocations: 12 kB / 417.5 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.1774, allocations: 199.8 kB / 417.7 MB, free: 21.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.1774, allocations: 31.84 kB / 417.7 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.1775, allocations: 79.58 kB / 417.8 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.1777, allocations: 305.4 kB / 418.1 MB, free: 20.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1778, allocations: 0 / 418.1 MB, free: 20.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1778, allocations: 0 / 418.1 MB, free: 20.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.1778, allocations: 0 / 418.1 MB, free: 20.83 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.001348/0.1791, allocations: 0.6357 MB / 418.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.1792, allocations: 11.89 kB / 418.7 MB, free: 20.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.1792, allocations: 46.73 kB / 418.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.1793, allocations: 20.69 kB / 418.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.1794, allocations: 224.5 kB / 419 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1794, allocations: 8.609 kB / 419 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.1795, allocations: 12.38 kB / 419.1 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.1797, allocations: 185 kB / 419.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1797, allocations: 0 / 419.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1797, allocations: 8 kB / 419.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1797, allocations: 4 kB / 419.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.1799, allocations: 156.6 kB / 419.4 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006981/0.1806, allocations: 0.703 MB / 420.1 MB, free: 18.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.181, allocations: 206.5 kB / 420.3 MB, free: 18.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1811, allocations: 92.83 kB / 420.4 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1812, allocations: 11.98 kB / 420.4 MB, free: 18.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.1812, allocations: 30.56 kB / 420.4 MB, free: 18.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.1812, allocations: 0 / 420.4 MB, free: 18.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001462/0.1827, allocations: 0.5769 MB / 421 MB, free: 17.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.1827, allocations: 55.41 kB / 421.1 MB, free: 17.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1828, allocations: 168.3 kB / 421.2 MB, free: 17.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1829, allocations: 33.7 kB / 421.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.1829, allocations: 112.3 kB / 421.4 MB, free: 17.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1829, allocations: 55.2 kB / 421.4 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.183, allocations: 37.7 kB / 421.5 MB, free: 17.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.314e-05/0.183, allocations: 330.8 kB / 421.8 MB, free: 16.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1831, allocations: 91.97 kB / 421.9 MB, free: 16.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.1833, allocations: 97.45 kB / 422 MB, free: 16.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.1835, allocations: 211.6 kB / 422.2 MB, free: 16.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1835, allocations: 8 kB / 422.2 MB, free: 16.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00067/0.1842, allocations: 377.9 kB / 422.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.1842, allocations: 7.938 kB / 422.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1842, allocations: 4 kB / 422.6 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005675/0.1848, allocations: 136.7 kB / 422.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1849, allocations: 35.92 kB / 422.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.1866, allocations: 2.026 MB / 424.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.1867, allocations: 15.84 kB / 424.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.1867, allocations: 11.92 kB / 424.8 MB, free: 13.71 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.284e-05/0.1868, allocations: 131.3 kB / 424.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.1869, allocations: 15.81 kB / 424.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007039/0.1876, allocations: 371.4 kB / 425.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1876, allocations: 4 kB / 425.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.1876, allocations: 0 / 425.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1876, allocations: 0 / 425.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.1878, allocations: 301.3 kB / 425.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1878, allocations: 7.938 kB / 425.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.1879, allocations: 19.98 kB / 425.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000516/0.1884, allocations: 136.7 kB / 425.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1884, allocations: 0 / 425.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.1899, allocations: 2.012 MB / 427.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1899, allocations: 0 / 427.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006331/0.1906, allocations: 434.1 kB / 428.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.1906, allocations: 96.94 kB / 428.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1906, allocations: 0 / 428.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.1908, allocations: 15.94 kB / 428.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.1908, allocations: 11.97 kB / 428.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1908, allocations: 8 kB / 428.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.911e-05/0.1909, allocations: 128.8 kB / 428.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1909, allocations: 0 / 428.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.1912, allocations: 71.84 kB / 428.5 MB, free: 9.742 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.0007821/0.192, allocations: 0.9783 MB / 429.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005877/0.1926, allocations: 389.1 kB / 429.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1926, allocations: 0 / 429.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.193, allocations: 266.5 kB / 430.1 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.1933, allocations: 16 kB / 430.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.1957, allocations: 2.373 MB / 432.5 MB, free: 5.594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.65e-05/0.1958, allocations: 0.7279 MB / 433.3 MB, free: 4.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.64e-05/0.1959, allocations: 17.41 kB / 433.3 MB, free: 4.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.1959, allocations: 39.42 kB / 433.3 MB, free: 4.781 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1959, allocations: 0 / 433.3 MB, free: 4.781 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.386/1.582, allocations: 5.882 MB / 439.2 MB, free: 14.99 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.85/18.43, allocations: 64 / 439.2 MB, free: 14.99 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)