Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000894/0.000894, allocations: 175.5 kB / 8.047 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 221.5 MB / 230 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000882/0.0008825, allocations: 97.3 kB / 280.9 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0523/0.0523, allocations: 8.109 MB / 339.8 MB, free: 7.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.73e-05, allocations: 3.938 kB / 398.6 MB, free: 49.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.09765, allocations: 52.52 MB / 451.1 MB, free: 5.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.2056, allocations: 77.76 MB / 0.5164 GB, free: 7.547 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.2058, allocations: 59.98 kB / 0.5165 GB, free: 7.488 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01158/0.2174, allocations: 4.776 MB / 0.5212 GB, free: 2.652 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2174, allocations: 0 / 0.5212 GB, free: 2.652 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.2174, allocations: 4 kB / 0.5212 GB, free: 2.648 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007387/0.2182, allocations: 462 kB / 0.5216 GB, free: 2.152 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2182, allocations: 11.98 kB / 0.5216 GB, free: 2.141 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.2183, allocations: 15.86 kB / 0.5216 GB, free: 2.125 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.2186, allocations: 214.8 kB / 0.5218 GB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.2186, allocations: 8 kB / 0.5218 GB, free: 1.867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.2186, allocations: 8 kB / 0.5219 GB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001862/0.2188, allocations: 99.98 kB / 0.5219 GB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.219, allocations: 134.6 kB / 0.5221 GB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.219, allocations: 0.875 kB / 0.5221 GB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.2191, allocations: 0 / 0.5221 GB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2191, allocations: 7.953 kB / 0.5221 GB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000767/0.2198, allocations: 0.4967 MB / 0.5226 GB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007662/0.2206, allocations: 147.9 kB / 0.5227 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.792e-05/0.2207, allocations: 44.84 kB / 0.5228 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.2209, allocations: 85.11 kB / 0.5228 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.2209, allocations: 30.56 kB / 0.5229 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.2209, allocations: 0 / 0.5229 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005897/0.2215, allocations: 178.4 kB / 0.523 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.2215, allocations: 51.41 kB / 0.5231 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2216, allocations: 123.2 kB / 0.5232 GB, free: 380 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.2217, allocations: 25.7 kB / 0.5232 GB, free: 348 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.2217, allocations: 127.6 kB / 0.5233 GB, free: 216 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.2218, allocations: 31.5 kB / 0.5234 GB, free: 184 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.2218, allocations: 0 / 0.5234 GB, free: 184 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.2216/0.4434, allocations: 318.8 kB / 0.5237 GB, free: 79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.4436, allocations: 29.31 kB / 0.5237 GB, free: 79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.448e-05/0.4437, allocations: 38.91 kB / 0.5237 GB, free: 78.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.4438, allocations: 35.88 kB / 0.5238 GB, free: 78.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4439, allocations: 0.5 kB / 0.5238 GB, free: 78.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005631/0.4444, allocations: 180.2 kB / 0.524 GB, free: 78.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.4445, allocations: 4.094 kB / 0.524 GB, free: 78.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4445, allocations: 2.656 kB / 0.524 GB, free: 78.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/0.4449, allocations: 75.8 kB / 0.524 GB, free: 78.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.445, allocations: 16.52 kB / 0.524 GB, free: 78.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.4463, allocations: 1.473 MB / 0.5255 GB, free: 77.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.4464, allocations: 7.703 kB / 0.5255 GB, free: 77.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.4464, allocations: 4 kB / 0.5255 GB, free: 77.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/0.4465, allocations: 104.4 kB / 0.5256 GB, free: 77.64 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004625/0.447, allocations: 176 kB / 0.5258 GB, free: 77.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.447, allocations: 7.844 kB / 0.5258 GB, free: 77.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005637/0.4476, allocations: 202.8 kB / 0.526 GB, free: 77.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4476, allocations: 2.125 kB / 0.526 GB, free: 77.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4476, allocations: 1.891 kB / 0.526 GB, free: 77.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4476, allocations: 1.031 kB / 0.526 GB, free: 77.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.4478, allocations: 193.9 kB / 0.5262 GB, free: 77.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4478, allocations: 3.656 kB / 0.5262 GB, free: 77.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.4479, allocations: 19.61 kB / 0.5262 GB, free: 77.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003258/0.4482, allocations: 75.69 kB / 0.5262 GB, free: 77.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4482, allocations: 1.969 kB / 0.5263 GB, free: 77.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.4495, allocations: 1.469 MB / 0.5277 GB, free: 76.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4495, allocations: 3.375 kB / 0.5277 GB, free: 76.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000539/0.45, allocations: 279.4 kB / 0.528 GB, free: 76.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.4501, allocations: 86.72 kB / 0.528 GB, free: 75.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.4501, allocations: 1.125 kB / 0.528 GB, free: 75.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.748e-05/0.4502, allocations: 0.9375 kB / 0.528 GB, free: 75.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.4503, allocations: 8.484 kB / 0.528 GB, free: 75.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.4503, allocations: 9.719 kB / 0.5281 GB, free: 75.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.165e-05/0.4504, allocations: 103.4 kB / 0.5282 GB, free: 75.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4504, allocations: 3.938 kB / 0.5282 GB, free: 75.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.4507, allocations: 43.5 kB / 0.5282 GB, free: 75.84 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007795/0.4515, allocations: 0.8135 MB / 0.529 GB, free: 75.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.452, allocations: 230.8 kB / 0.5292 GB, free: 75.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4521, allocations: 0 / 0.5292 GB, free: 75.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.4524, allocations: 190.2 kB / 0.5294 GB, free: 74.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.4526, allocations: 4.469 kB / 0.5294 GB, free: 74.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.4531, allocations: 190.7 kB / 0.5296 GB, free: 74.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.4533, allocations: 0.7106 MB / 0.5303 GB, free: 74.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.381e-05/0.4533, allocations: 19 kB / 0.5303 GB, free: 74.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.4534, allocations: 35.08 kB / 0.5303 GB, free: 74.1 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4534, allocations: 0 / 0.5303 GB, free: 74.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.4777, allocations: 2.539 MB / 0.5328 GB, free: 73.97 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001329/0.4779, allocations: 112.6 kB / 0.5329 GB, free: 73.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/1.946, allocations: 4 kB / 0.5329 GB, free: 73.8 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1)