Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",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.0008766/0.0008767, allocations: 102.6 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009159/0.0009159, allocations: 181.2 kB / 16.96 MB, free: 6.902 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.291/1.291, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1583/0.1583, allocations: 8.083 MB / 300.2 MB, free: 2.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003279, allocations: 12 kB / 363.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08968/0.09002, allocations: 52.52 MB / 416.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001036/0.0911, allocations: 0.6372 MB / 416.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.09244, allocations: 1.162 MB / 417.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.09248, allocations: 4 kB / 417.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.0927, allocations: 47.83 kB / 418 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.09281, allocations: 19.91 kB / 418 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.965e-05/0.09289, allocations: 27.92 kB / 418 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.411e-05/0.09298, allocations: 55.78 kB / 418.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.09309, allocations: 23.97 kB / 418.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.09313, allocations: 23.86 kB / 418.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.0932, allocations: 23.91 kB / 418.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.09322, allocations: 4 kB / 418.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.09335, allocations: 59.92 kB / 418.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.09337, allocations: 3.938 kB / 418.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.09343, allocations: 53.56 kB / 418.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.09361, allocations: 103.9 kB / 418.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.09362, allocations: 0 / 418.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.09363, allocations: 0 / 418.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.09365, allocations: 4 kB / 418.4 MB, free: 6.031 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004893/0.09414, allocations: 371.4 kB / 418.7 MB, free: 5.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.09419, allocations: 8.031 kB / 418.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.09423, allocations: 42.69 kB / 418.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.09426, allocations: 8.844 kB / 418.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.09438, allocations: 164.4 kB / 418.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.09441, allocations: 8.375 kB / 418.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.09442, allocations: 4.375 kB / 418.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.09458, allocations: 90.16 kB / 419 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.0946, allocations: 3.938 kB / 419 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.09461, allocations: 0 / 419 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.09462, allocations: 0 / 419 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.377e-05/0.09471, allocations: 47.92 kB / 419.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.09515, allocations: 344.5 kB / 419.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.744e-05/0.09521, allocations: 26.52 kB / 419.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.09524, allocations: 12.92 kB / 419.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.09536, allocations: 89.03 kB / 419.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.09539, allocations: 30.56 kB / 419.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.0954, allocations: 0 / 419.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001423/0.09555, allocations: 53.52 kB / 419.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.0956, allocations: 55.39 kB / 419.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.0957, allocations: 122 kB / 419.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.09572, allocations: 25.7 kB / 419.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.09579, allocations: 107.8 kB / 419.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/0.0958, allocations: 11.91 kB / 419.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.09583, allocations: 9.719 kB / 420 MB, free: 4.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.09594, allocations: 314.8 kB / 420.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.09597, allocations: 15.98 kB / 420.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.096, allocations: 8 kB / 420.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.786e-05/0.09605, allocations: 32.84 kB / 420.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.09606, allocations: 0 / 420.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.714e-05/0.09616, allocations: 65.62 kB / 420.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.09618, allocations: 8 kB / 420.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.09619, allocations: 0 / 420.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.0962, allocations: 3.938 kB / 420.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.09628, allocations: 8 kB / 420.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.09629, allocations: 0 / 420.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.09634, allocations: 3.938 kB / 420.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.09635, allocations: 11.98 kB / 420.4 MB, free: 3.711 MB / 350.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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/0.09642, allocations: 109.8 kB / 420.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.09646, allocations: 11.91 kB / 420.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.09656, allocations: 57.33 kB / 420.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.09657, allocations: 3.938 kB / 420.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.09658, allocations: 0 / 420.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.09659, allocations: 0 / 420.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.09675, allocations: 169.7 kB / 420.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.09676, allocations: 0 / 420.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.09678, allocations: 4 kB / 420.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.09679, allocations: 4.031 kB / 420.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-06/0.0968, allocations: 0 / 420.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.09681, allocations: 3.938 kB / 420.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.09682, allocations: 0 / 420.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.19e-05/0.09691, allocations: 143.5 kB / 420.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.09696, allocations: 81.02 kB / 421 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.09698, allocations: 0 / 421 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-05/0.09704, allocations: 7.938 kB / 421 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.09706, allocations: 11.95 kB / 421 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.09707, allocations: 0 / 421 MB, free: 3.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.09712, allocations: 91.28 kB / 421.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.09713, allocations: 0 / 421.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.09737, allocations: 15.98 kB / 421.1 MB, free: 2.91 MB / 350.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003504/0.09772, allocations: 0.6773 MB / 421.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.522e-05/0.09782, allocations: 23.94 kB / 421.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.09783, allocations: 0 / 421.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.33e-05/0.09785, allocations: 8 kB / 421.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.09806, allocations: 7.922 kB / 421.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.09849, allocations: 224 kB / 422 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.09874, allocations: 0.6848 MB / 422.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.865e-05/0.09877, allocations: 4 kB / 422.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.09881, allocations: 15.42 kB / 422.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.09882, allocations: 4 kB / 422.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2614/0.3603, allocations: 1.378 MB / 424.1 MB, free: 41.1 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/0.3605, allocations: 165 kB / 424.3 MB, free: 40.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.054, allocations: 0 / 424.3 MB, free: 40.85 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)