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.001486/0.001486, allocations: 104.8 kB / 16.45 MB, free: 6.438 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.00168/0.00168, allocations: 189.5 kB / 17.39 MB, free: 5.668 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.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04532/0.04532, allocations: 8.092 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 63.89 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08759/0.089, allocations: 51.51 MB / 465.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002109/0.09115, allocations: 0.9398 MB / 466.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.09259, allocations: 1.162 MB / 467.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.09267, allocations: 4 kB / 467.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.09295, allocations: 51.77 kB / 467.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.09316, allocations: 27.78 kB / 467.6 MB, free: 500 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.09327, allocations: 35.91 kB / 467.7 MB, free: 464 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.09337, allocations: 55.72 kB / 467.7 MB, free: 408 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.0935, allocations: 27.97 kB / 467.8 MB, free: 380 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.09355, allocations: 19.92 kB / 467.8 MB, free: 360 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.82e-05/0.09363, allocations: 31.86 kB / 467.8 MB, free: 328 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.09365, allocations: 8 kB / 467.8 MB, free: 320 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.09382, allocations: 63.91 kB / 467.9 MB, free: 256 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.09384, allocations: 15.92 kB / 467.9 MB, free: 240 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.09388, allocations: 27.81 kB / 467.9 MB, free: 212 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.0941, allocations: 102.6 kB / 468 MB, free: 112 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.09411, allocations: 3.938 kB / 468 MB, free: 108 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09412, allocations: 4 kB / 468 MB, free: 104 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.09413, allocations: 0 / 468 MB, free: 104 kB / 334.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.0005637/0.0947, allocations: 384.3 kB / 468.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.09475, allocations: 15.89 kB / 468.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.0948, allocations: 38.73 kB / 468.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.09483, allocations: 8.844 kB / 468.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.09494, allocations: 168.3 kB / 468.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.09496, allocations: 4.375 kB / 468.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.09498, allocations: 4.375 kB / 468.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.09514, allocations: 90.09 kB / 468.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.09515, allocations: 3.938 kB / 468.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.09517, allocations: 0 / 468.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.09518, allocations: 8 kB / 468.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.631e-05/0.09526, allocations: 43.97 kB / 468.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.09572, allocations: 348.5 kB / 469.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.119e-05/0.09578, allocations: 22.58 kB / 469.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.0958, allocations: 8.922 kB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.09593, allocations: 85.11 kB / 469.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.09596, allocations: 38.55 kB / 469.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.09597, allocations: 0 / 469.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001496/0.09612, allocations: 49.58 kB / 469.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.09616, allocations: 51.41 kB / 469.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.09626, allocations: 113.8 kB / 469.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.09628, allocations: 29.64 kB / 469.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.09634, allocations: 115.8 kB / 469.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.625e-06/0.09635, allocations: 12.06 kB / 469.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.0964, allocations: 25.61 kB / 469.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.09649, allocations: 314.8 kB / 470 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.751e-05/0.09653, allocations: 15.98 kB / 470 MB, free: 13.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/0.09655, allocations: 8 kB / 470 MB, free: 13.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.848e-05/0.0966, allocations: 32.97 kB / 470 MB, free: 13.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.09661, allocations: 0 / 470 MB, free: 13.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.928e-05/0.09672, allocations: 65.62 kB / 470.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.09674, allocations: 10.34 kB / 470.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.09675, allocations: 4 kB / 470.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.09677, allocations: 3.938 kB / 470.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.09685, allocations: 8 kB / 470.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.09686, allocations: 0 / 470.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.09691, allocations: 4 kB / 470.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.09692, allocations: 7.984 kB / 470.1 MB, free: 13.75 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 8.073e-05/0.09701, allocations: 109.8 kB / 470.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.09704, allocations: 7.906 kB / 470.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.957e-05/0.09715, allocations: 57.11 kB / 470.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.09716, allocations: 3.938 kB / 470.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.09717, allocations: 0 / 470.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.09717, allocations: 0 / 470.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.09733, allocations: 169.7 kB / 470.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.09734, allocations: 0 / 470.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.09737, allocations: 4 kB / 470.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.09737, allocations: 0 / 470.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.09738, allocations: 0 / 470.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.09739, allocations: 7.875 kB / 470.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0974, allocations: 0 / 470.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.09751, allocations: 147.5 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.09755, allocations: 77.11 kB / 470.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.09757, allocations: 0 / 470.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.218e-05/0.09764, allocations: 15.98 kB / 470.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.09765, allocations: 0 / 470.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.09766, allocations: 0 / 470.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.157e-05/0.09772, allocations: 95.22 kB / 470.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09773, allocations: 4.031 kB / 470.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.09796, allocations: 19.89 kB / 470.8 MB, free: 12.94 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.0003697/0.09834, allocations: 0.6812 MB / 471.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.582e-05/0.09844, allocations: 27.94 kB / 471.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.09845, allocations: 0 / 471.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.419e-05/0.09847, allocations: 7.984 kB / 471.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.09868, allocations: 3.938 kB / 471.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.0991, allocations: 192.6 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.09933, allocations: 0.6923 MB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.92e-05/0.09936, allocations: 4 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.09941, allocations: 19.42 kB / 472.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09941, allocations: 3.938 kB / 472.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.1143, allocations: 1.607 MB / 474.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.149, allocations: 6.781 kB / 474.1 MB, free: 9.656 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)