Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",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.00102/0.00102, allocations: 107 kB / 16.03 MB, free: 6.273 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.0009768/0.0009768, allocations: 193.7 kB / 16.95 MB, free: 6.098 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.258/1.258, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04203/0.04203, allocations: 8.093 MB / 298.9 MB, free: 6.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 361.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1824, allocations: 51.51 MB / 412.8 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.001908/0.1843, allocations: 1.609 MB / 414.4 MB, free: 24.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1855, allocations: 1.536 MB / 416 MB, free: 22.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.1856, allocations: 7.938 kB / 416 MB, free: 22.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.1858, allocations: 99.64 kB / 416.1 MB, free: 22.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.186, allocations: 103.4 kB / 416.2 MB, free: 22.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.187, allocations: 0.8484 MB / 417 MB, free: 21.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1872, allocations: 242.8 kB / 417.3 MB, free: 21.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.161e-05/0.1873, allocations: 80.16 kB / 417.3 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.1873, allocations: 91.64 kB / 417.4 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.781e-05/0.1874, allocations: 135.4 kB / 417.6 MB, free: 20.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1875, allocations: 20 kB / 417.6 MB, free: 20.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.1877, allocations: 207.8 kB / 417.8 MB, free: 20.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.1877, allocations: 47.83 kB / 417.8 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.1878, allocations: 111.4 kB / 417.9 MB, free: 20.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.1881, allocations: 381.2 kB / 418.3 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.1881, allocations: 0 / 418.3 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1881, allocations: 0 / 418.3 MB, free: 20.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1881, allocations: 0 / 418.3 MB, free: 20.23 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001853/0.1899, allocations: 0.8188 MB / 419.1 MB, free: 19.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.067e-05/0.19, allocations: 11.89 kB / 419.1 MB, free: 19.35 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.19, allocations: 54.73 kB / 419.2 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.1901, allocations: 24.66 kB / 419.2 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.1902, allocations: 252.4 kB / 419.5 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1902, allocations: 16.64 kB / 419.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.1903, allocations: 20.38 kB / 419.5 MB, free: 18.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.1906, allocations: 260 kB / 419.8 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1906, allocations: 3.938 kB / 419.8 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.1906, allocations: 11.98 kB / 419.8 MB, free: 18.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1906, allocations: 4 kB / 419.8 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.1909, allocations: 243.9 kB / 420 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.1919, allocations: 1.121 MB / 421.1 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.1924, allocations: 313.6 kB / 421.4 MB, free: 16.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.1926, allocations: 156.8 kB / 421.6 MB, free: 16.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.1926, allocations: 11.98 kB / 421.6 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.1927, allocations: 34.56 kB / 421.6 MB, free: 16.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.213e-06/0.1927, allocations: 0 / 421.6 MB, free: 16.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002668/0.1953, allocations: 0.9691 MB / 422.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.1954, allocations: 55.41 kB / 422.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1955, allocations: 202.3 kB / 422.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1955, allocations: 29.7 kB / 422.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.1956, allocations: 128.4 kB / 423 MB, free: 15.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.1956, allocations: 86.75 kB / 423.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.1957, allocations: 65.59 kB / 423.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.909e-05/0.1958, allocations: 330.8 kB / 423.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.1959, allocations: 156 kB / 423.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.1961, allocations: 153.1 kB / 423.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.1965, allocations: 358.2 kB / 424.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1965, allocations: 0 / 424.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001264/0.1978, allocations: 0.6421 MB / 424.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1978, allocations: 4 kB / 424.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1978, allocations: 3.938 kB / 424.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.199, allocations: 324.5 kB / 425.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1992, allocations: 47.91 kB / 425.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.2022, allocations: 2.758 MB / 427.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.2024, allocations: 31.69 kB / 427.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.2024, allocations: 8 kB / 428 MB, free: 10.12 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 (27): * Single equations (assignments): 26 * 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 {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 9.574e-05/0.2025, allocations: 141.8 kB / 428.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.2026, allocations: 19.75 kB / 428.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.2039, allocations: 0.6247 MB / 428.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2039, allocations: 4 kB / 428.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.2039, allocations: 3.938 kB / 428.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2039, allocations: 3.984 kB / 428.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.2042, allocations: 385.2 kB / 429.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2042, allocations: 0 / 429.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.932e-05/0.2043, allocations: 35.92 kB / 429.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/0.2054, allocations: 316.5 kB / 429.5 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.2055, allocations: 4 kB / 429.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/0.2082, allocations: 2.735 MB / 432.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2082, allocations: 0 / 432.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.2094, allocations: 0.6727 MB / 432.9 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.2095, allocations: 100.8 kB / 433 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.2095, allocations: 7.938 kB / 433 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.2097, allocations: 15.98 kB / 433 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.2098, allocations: 19.97 kB / 433 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.2098, allocations: 8 kB / 433 MB, free: 4.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.009e-05/0.2099, allocations: 147.1 kB / 433.2 MB, free: 4.648 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2099, allocations: 4 kB / 433.2 MB, free: 4.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.2102, allocations: 95.94 kB / 433.3 MB, free: 4.551 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 (20): * Single equations (assignments): 19 * 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001353/0.2116, allocations: 1.228 MB / 434.5 MB, free: 3.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.2128, allocations: 0.6273 MB / 435.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2128, allocations: 4 kB / 435.1 MB, free: 2.648 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008212/0.2136, allocations: 458.8 kB / 435.6 MB, free: 2.188 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.2139, allocations: 19.94 kB / 435.6 MB, free: 2.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.2182, allocations: 3.307 MB / 438.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.2185, allocations: 0.7485 MB / 439.7 MB, free: 14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.2186, allocations: 29.92 kB / 439.7 MB, free: 13.97 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.93e-05/0.2187, allocations: 67.41 kB / 439.7 MB, free: 13.9 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2187, allocations: 0 / 439.7 MB, free: 13.9 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5353/0.7541, allocations: 8.202 MB / 448 MB, free: 5.852 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.7543, allocations: 227.1 kB / 448.2 MB, free: 5.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.465, allocations: 0 / 448.2 MB, free: 5.59 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)