Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",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.001304/0.001304, allocations: 106.8 kB / 16.03 MB, free: 6.332 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.001349/0.001349, allocations: 199 kB / 16.95 MB, free: 6.152 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.239/1.239, 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.03882/0.03882, allocations: 8.105 MB / 298.9 MB, free: 6.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 63.91 kB / 361.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1711, allocations: 51.52 MB / 412.8 MB, free: 25.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.002316/0.1734, allocations: 2.331 MB / 415.2 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1747, allocations: 1.664 MB / 416.8 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.1748, allocations: 4 kB / 416.8 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1751, allocations: 139.5 kB / 417 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.1754, allocations: 179 kB / 417.1 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.1768, allocations: 1.156 MB / 418.3 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.1771, allocations: 406 kB / 418.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.1772, allocations: 129.5 kB / 418.8 MB, free: 19.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.314e-05/0.1773, allocations: 167.4 kB / 419 MB, free: 19.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.1775, allocations: 211.1 kB / 419.2 MB, free: 19.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.1776, allocations: 32 kB / 419.2 MB, free: 19.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.1778, allocations: 259.8 kB / 419.5 MB, free: 19.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.1779, allocations: 87.67 kB / 419.6 MB, free: 19.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.753e-05/0.178, allocations: 191 kB / 419.8 MB, free: 18.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.1784, allocations: 0.5841 MB / 420.3 MB, free: 18.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1784, allocations: 0 / 420.3 MB, free: 18.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1784, allocations: 0 / 420.3 MB, free: 18.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1784, allocations: 0 / 420.3 MB, free: 18.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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004172/0.1826, allocations: 1.365 MB / 421.7 MB, free: 16.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1826, allocations: 15.89 kB / 421.7 MB, free: 16.8 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.286e-05/0.1827, allocations: 62.73 kB / 421.8 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.346e-05/0.1828, allocations: 44.47 kB / 421.8 MB, free: 16.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1831, allocations: 323.5 kB / 422.1 MB, free: 16.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1831, allocations: 24.94 kB / 422.2 MB, free: 16.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.1831, allocations: 32.38 kB / 422.2 MB, free: 16.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.1837, allocations: 473 kB / 422.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1837, allocations: 11.86 kB / 422.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.1838, allocations: 16 kB / 422.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1838, allocations: 4 kB / 422.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.1843, allocations: 418.1 kB / 423.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.1862, allocations: 2.021 MB / 425.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.1869, allocations: 0.518 MB / 425.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.1872, allocations: 284.8 kB / 425.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.898e-05/0.1873, allocations: 11.97 kB / 425.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.1873, allocations: 42.5 kB / 426 MB, free: 12.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.1873, allocations: 0 / 426 MB, free: 12.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006413/0.1937, allocations: 1.869 MB / 427.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1938, allocations: 110.8 kB / 427.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.1941, allocations: 271 kB / 428.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.1941, allocations: 37.7 kB / 428.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.1942, allocations: 156.9 kB / 428.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.768e-05/0.1943, allocations: 149.8 kB / 428.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.1944, allocations: 106.2 kB / 428.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.657e-05/0.1945, allocations: 346.8 kB / 429 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.1949, allocations: 293 kB / 429.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.1952, allocations: 352.6 kB / 429.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006972/0.1959, allocations: 0.649 MB / 430.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1959, allocations: 0 / 430.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002928/0.1989, allocations: 1.276 MB / 431.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1989, allocations: 11.94 kB / 431.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1989, allocations: 0 / 431.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003195/0.2021, allocations: 0.7812 MB / 432.3 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.2024, allocations: 83.89 kB / 432.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005735/0.2082, allocations: 4.18 MB / 436.6 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.2086, allocations: 51.45 kB / 436.6 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.2086, allocations: 16 kB / 436.7 MB, free: 1.301 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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.2088, allocations: 169.6 kB / 436.8 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.2088, allocations: 43.56 kB / 436.9 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003023/0.2119, allocations: 1.222 MB / 438.1 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.2119, allocations: 4 kB / 438.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.2119, allocations: 3.938 kB / 438.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2119, allocations: 3.984 kB / 438.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.2124, allocations: 0.5637 MB / 438.7 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2124, allocations: 0 / 438.7 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.2126, allocations: 59.91 kB / 438.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003328/0.2159, allocations: 0.7538 MB / 439.5 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.216, allocations: 20 kB / 439.5 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006247/0.2222, allocations: 4.124 MB / 443.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2223, allocations: 0 / 443.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.2253, allocations: 1.238 MB / 444.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.2254, allocations: 112.5 kB / 445 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.2255, allocations: 12 kB / 445 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.2258, allocations: 31.97 kB / 445 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.2259, allocations: 40.33 kB / 445.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.226, allocations: 12 kB / 445.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.2261, allocations: 190 kB / 445.2 MB, free: 8.453 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2261, allocations: 0 / 445.2 MB, free: 8.453 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004967/0.2266, allocations: 183.8 kB / 445.4 MB, free: 8.273 MB / 318.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 (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003369/0.23, allocations: 1.798 MB / 447.2 MB, free: 6.449 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002258/0.2323, allocations: 1.074 MB / 448.3 MB, free: 5.359 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.2323, allocations: 8 kB / 448.3 MB, free: 5.352 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.2339, allocations: 0.673 MB / 449 MB, free: 4.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.2343, allocations: 42.38 kB / 449 MB, free: 4.625 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008995/0.2433, allocations: 5.341 MB / 454.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.2436, allocations: 0.805 MB / 455.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.2437, allocations: 54.91 kB / 455.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.2439, allocations: 123.3 kB / 455.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2439, allocations: 0 / 455.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4449/0.6888, allocations: 14.96 MB / 470.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.689, allocations: 251.5 kB / 470.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.671, allocations: 0 / 470.5 MB, free: 15.21 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1)