Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",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.001132/0.001132, allocations: 109.6 kB / 16.03 MB, free: 6.309 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.001187/0.001188, allocations: 191.1 kB / 16.95 MB, free: 6.137 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.286/1.286, 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.04271/0.04271, allocations: 8.097 MB / 298.9 MB, free: 6.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.91 kB / 361.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1724, allocations: 51.51 MB / 412.8 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.002588/0.175, allocations: 2.815 MB / 415.6 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1764, allocations: 1.736 MB / 417.4 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1765, allocations: 8 kB / 417.4 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.1768, allocations: 155.3 kB / 417.5 MB, free: 21.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.1772, allocations: 234.8 kB / 417.8 MB, free: 20.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.1785, allocations: 1.055 MB / 418.8 MB, free: 19.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000343/0.1789, allocations: 0.5093 MB / 419.3 MB, free: 19.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.179, allocations: 160.3 kB / 419.5 MB, free: 19.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1792, allocations: 211.2 kB / 419.7 MB, free: 18.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.1793, allocations: 254.9 kB / 419.9 MB, free: 18.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.1794, allocations: 40 kB / 420 MB, free: 18.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.1797, allocations: 267.7 kB / 420.2 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.1797, allocations: 107.5 kB / 420.4 MB, free: 18.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1799, allocations: 250.7 kB / 420.6 MB, free: 17.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.1803, allocations: 0.666 MB / 421.3 MB, free: 17.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1803, allocations: 0 / 421.3 MB, free: 17.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1803, allocations: 0 / 421.3 MB, free: 17.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.1803, allocations: 3.938 kB / 421.3 MB, free: 17.3 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.005241/0.1856, allocations: 1.654 MB / 422.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.1856, allocations: 15.89 kB / 422.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.984e-05/0.1857, allocations: 74.72 kB / 423 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.238e-05/0.1858, allocations: 56.28 kB / 423.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1861, allocations: 364 kB / 423.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1861, allocations: 29.38 kB / 423.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.118e-05/0.1861, allocations: 44.38 kB / 423.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/0.1869, allocations: 0.6047 MB / 424.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1869, allocations: 0 / 424.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.1869, allocations: 16 kB / 424.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1869, allocations: 8 kB / 424.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005945/0.1875, allocations: 0.5428 MB / 424.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.1897, allocations: 2.235 MB / 426.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008276/0.1905, allocations: 0.877 MB / 427.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003875/0.1909, allocations: 398.5 kB / 428.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.192, allocations: 1.342 MB / 429.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.192, allocations: 39 kB / 429.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.353e-06/0.192, allocations: 0 / 429.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.008664/0.2007, allocations: 2.65 MB / 432.2 MB, free: 5.875 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.2007, allocations: 115.2 kB / 432.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.201, allocations: 345.4 kB / 432.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.201, allocations: 41.7 kB / 432.7 MB, free: 5.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.2011, allocations: 197 kB / 432.9 MB, free: 5.148 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.823e-05/0.2012, allocations: 181.4 kB / 433.1 MB, free: 4.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.2014, allocations: 146.5 kB / 433.2 MB, free: 4.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.2014, allocations: 346.8 kB / 433.5 MB, free: 4.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.2019, allocations: 405.9 kB / 433.9 MB, free: 4.078 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.2023, allocations: 0.5089 MB / 434.4 MB, free: 3.531 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009383/0.2033, allocations: 0.9492 MB / 435.4 MB, free: 2.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2033, allocations: 3.938 kB / 435.4 MB, free: 2.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004134/0.2074, allocations: 1.785 MB / 437.2 MB, free: 0.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2075, allocations: 11.94 kB / 437.2 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2075, allocations: 4 kB / 437.2 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004526/0.212, allocations: 1.1 MB / 438.3 MB, free: 15.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/0.2125, allocations: 119.8 kB / 438.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009419/0.2219, allocations: 5.238 MB / 443.7 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.2225, allocations: 75.2 kB / 443.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/0.2226, allocations: 28 kB / 443.8 MB, free: 10.04 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.2228, allocations: 181.7 kB / 443.9 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.69e-05/0.2229, allocations: 51.42 kB / 444 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004646/0.2276, allocations: 1.617 MB / 445.6 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2276, allocations: 4 kB / 445.6 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2276, allocations: 12 kB / 445.6 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.2276, allocations: 3.984 kB / 445.6 MB, free: 8.152 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006324/0.2283, allocations: 0.6658 MB / 446.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2283, allocations: 0 / 446.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.2285, allocations: 63.91 kB / 446.3 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004631/0.2331, allocations: 1.033 MB / 447.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.2332, allocations: 12 kB / 447.4 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008442/0.2417, allocations: 5.206 MB / 452.6 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2417, allocations: 3.984 kB / 452.6 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/0.246, allocations: 1.627 MB / 454.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.383e-05/0.2461, allocations: 124.5 kB / 454.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.432e-05/0.2462, allocations: 15.91 kB / 454.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.2466, allocations: 26.17 kB / 454.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.2467, allocations: 56.42 kB / 454.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.2468, allocations: 16 kB / 454.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.2469, allocations: 219.2 kB / 454.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2469, allocations: 0 / 454.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006903/0.2476, allocations: 228 kB / 454.9 MB, free: 14.64 MB / 334.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 (39): * Single equations (assignments): 38 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004544/0.2522, allocations: 2.196 MB / 457.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002881/0.2551, allocations: 1.36 MB / 458.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2551, allocations: 0 / 458.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.257, allocations: 0.8232 MB / 459.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.2574, allocations: 51.97 kB / 459.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.2699, allocations: 6.861 MB / 466.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.2703, allocations: 0.8332 MB / 467 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.2705, allocations: 55.27 kB / 467.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.2707, allocations: 155.4 kB / 467.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2707, allocations: 0 / 467.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4937/0.7644, allocations: 17.38 MB / 484.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/0.7647, allocations: 237.7 kB / 484.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/2.955, allocations: 0 / 484.8 MB, free: 0.6641 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)