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.0009988/0.0009988, allocations: 103.5 kB / 16.03 MB, free: 6.312 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.0009775/0.0009775, allocations: 193.3 kB / 16.95 MB, free: 6.145 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.255/1.255, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04458/0.04458, allocations: 8.1 MB / 298.9 MB, free: 6.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.91 kB / 361.3 MB, free: 8.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1722, allocations: 51.52 MB / 412.8 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001745/0.174, allocations: 0.9861 MB / 413.8 MB, free: 24.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008423/0.1749, allocations: 1.154 MB / 415 MB, free: 23.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.1749, allocations: 0 / 415 MB, free: 23.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.1751, allocations: 47.83 kB / 415 MB, free: 23.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.1752, allocations: 27.84 kB / 415 MB, free: 23.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.326e-05/0.1753, allocations: 23.98 kB / 415.1 MB, free: 23.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.1754, allocations: 51.78 kB / 415.1 MB, free: 23.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.1755, allocations: 31.92 kB / 415.2 MB, free: 23.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.436e-05/0.1755, allocations: 27.88 kB / 415.2 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.1755, allocations: 27.84 kB / 415.2 MB, free: 23.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.1756, allocations: 4 kB / 415.2 MB, free: 23.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1757, allocations: 63.97 kB / 415.3 MB, free: 23.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.1757, allocations: 11.88 kB / 415.3 MB, free: 23.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.1757, allocations: 31.86 kB / 415.3 MB, free: 23.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1759, allocations: 113.9 kB / 415.4 MB, free: 23.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1759, allocations: 0 / 415.4 MB, free: 23.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1759, allocations: 0 / 415.4 MB, free: 23.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1759, allocations: 0 / 415.4 MB, free: 23.18 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004016/0.1763, allocations: 379.4 kB / 415.8 MB, free: 22.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.1763, allocations: 11.89 kB / 415.8 MB, free: 22.75 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.3e-05/0.1764, allocations: 38.75 kB / 415.8 MB, free: 22.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.394e-05/0.1764, allocations: 8.844 kB / 415.9 MB, free: 22.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.732e-05/0.1765, allocations: 172.3 kB / 416 MB, free: 22.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.1765, allocations: 8.375 kB / 416 MB, free: 22.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1765, allocations: 4.375 kB / 416 MB, free: 22.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1766, allocations: 81.12 kB / 416.1 MB, free: 22.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1766, allocations: 3.938 kB / 416.1 MB, free: 22.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1767, allocations: 8 kB / 416.1 MB, free: 22.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1767, allocations: 3.984 kB / 416.1 MB, free: 22.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.577e-05/0.1767, allocations: 43.98 kB / 416.2 MB, free: 22.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.1771, allocations: 348.5 kB / 416.5 MB, free: 21.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/0.1771, allocations: 22.56 kB / 416.5 MB, free: 21.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.1772, allocations: 16.92 kB / 416.6 MB, free: 21.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.124e-05/0.1772, allocations: 77.11 kB / 416.6 MB, free: 21.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.058e-05/0.1773, allocations: 38.5 kB / 416.7 MB, free: 21.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.1773, allocations: 0 / 416.7 MB, free: 21.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001222/0.1774, allocations: 49.56 kB / 416.7 MB, free: 21.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.584e-05/0.1774, allocations: 51.41 kB / 416.8 MB, free: 21.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.1775, allocations: 118.2 kB / 416.9 MB, free: 21.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-06/0.1775, allocations: 29.7 kB / 416.9 MB, free: 21.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.1775, allocations: 115.8 kB / 417 MB, free: 21.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.66e-06/0.1775, allocations: 3.906 kB / 417 MB, free: 21.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.1776, allocations: 21.7 kB / 417 MB, free: 21.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.154e-05/0.1776, allocations: 318.8 kB / 417.4 MB, free: 21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.1776, allocations: 8 kB / 417.4 MB, free: 21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/0.1777, allocations: 15.98 kB / 417.4 MB, free: 20.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.1777, allocations: 24.86 kB / 417.4 MB, free: 20.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1777, allocations: 4 kB / 417.4 MB, free: 20.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.836e-05/0.1778, allocations: 65.62 kB / 417.5 MB, free: 20.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.1778, allocations: 11.92 kB / 417.5 MB, free: 20.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1778, allocations: 0 / 417.5 MB, free: 20.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1778, allocations: 8.125 kB / 417.5 MB, free: 20.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.1779, allocations: 12 kB / 417.5 MB, free: 20.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1779, allocations: 4.062 kB / 417.5 MB, free: 20.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.178, allocations: 7.906 kB / 417.5 MB, free: 20.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.178, allocations: 0 / 417.5 MB, free: 20.84 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 (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 4.346e-05/0.178, allocations: 117.8 kB / 417.6 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1781, allocations: 3.984 kB / 417.6 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.531e-05/0.1781, allocations: 49.12 kB / 417.7 MB, free: 20.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1781, allocations: 7.938 kB / 417.7 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1782, allocations: 0 / 417.7 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1782, allocations: 3.984 kB / 417.7 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.1783, allocations: 169.7 kB / 417.9 MB, free: 20.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1783, allocations: 0 / 417.9 MB, free: 20.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.1783, allocations: 0 / 417.9 MB, free: 20.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1783, allocations: 4 kB / 417.9 MB, free: 20.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-06/0.1783, allocations: 8.031 kB / 417.9 MB, free: 20.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1783, allocations: 3.938 kB / 417.9 MB, free: 20.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1783, allocations: 0 / 417.9 MB, free: 20.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.134e-05/0.1784, allocations: 135.5 kB / 418 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.1784, allocations: 88.95 kB / 418.1 MB, free: 20.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.1784, allocations: 0 / 418.1 MB, free: 20.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.969e-05/0.1785, allocations: 3.938 kB / 418.1 MB, free: 20.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.1785, allocations: 4.031 kB / 418.1 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1785, allocations: 4 kB / 418.1 MB, free: 20.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.401e-05/0.1786, allocations: 95.27 kB / 418.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1786, allocations: 0 / 418.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.1788, allocations: 15.94 kB / 418.2 MB, free: 20.03 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 (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.0002075/0.179, allocations: 0.6812 MB / 418.9 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.936e-05/0.1791, allocations: 27.92 kB / 418.9 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1791, allocations: 0 / 418.9 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.1791, allocations: 4 kB / 418.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.1793, allocations: 7.938 kB / 418.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.1797, allocations: 208.9 kB / 419.1 MB, free: 19.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.999e-05/0.1798, allocations: 0.6885 MB / 419.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.658e-05/0.1798, allocations: 7.922 kB / 419.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.1798, allocations: 23.42 kB / 419.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1799, allocations: 3.938 kB / 419.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01032/0.1902, allocations: 1.492 MB / 421.4 MB, free: 16.88 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001134/0.1903, allocations: 170.5 kB / 421.5 MB, free: 16.62 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.895, allocations: 0 / 421.5 MB, free: 16.62 MB / 302.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)