Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneBank.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.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",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.005869/0.005869, allocations: 89.14 kB / 15.91 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.001594/0.001595, allocations: 195.1 kB / 16.83 MB, free: 6.242 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.271/1.271, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1543/0.1543, allocations: 8.086 MB / 298.8 MB, free: 2.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.89 kB / 361.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07902/0.08015, allocations: 51.52 MB / 412.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.002094/0.08228, allocations: 1.019 MB / 413.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.0836, allocations: 1.111 MB / 414.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.08366, allocations: 0 / 414.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.08393, allocations: 67.81 kB / 414.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.08406, allocations: 31.84 kB / 414.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.08458, allocations: 298.9 kB / 415.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.608e-05/0.08468, allocations: 59.72 kB / 415.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.588e-05/0.08477, allocations: 28.16 kB / 415.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.08481, allocations: 27.86 kB / 415.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.696e-05/0.08489, allocations: 35.84 kB / 415.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.08491, allocations: 4 kB / 415.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.08505, allocations: 67.84 kB / 415.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.08507, allocations: 8 kB / 415.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.08511, allocations: 35.8 kB / 415.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.0853, allocations: 123.9 kB / 415.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.08531, allocations: 0 / 415.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.08532, allocations: 0 / 415.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.08533, allocations: 4 kB / 415.6 MB, free: 7.141 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.0005074/0.08584, allocations: 395.3 kB / 416 MB, free: 6.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.08589, allocations: 12.03 kB / 416 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.08593, allocations: 38.69 kB / 416 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.08596, allocations: 4.938 kB / 416 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.08609, allocations: 180.2 kB / 416.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.08611, allocations: 4.375 kB / 416.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.08613, allocations: 8.375 kB / 416.2 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.08628, allocations: 88.52 kB / 416.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.0863, allocations: 0 / 416.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.08631, allocations: 4 kB / 416.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.08632, allocations: 0 / 416.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.08643, allocations: 59.97 kB / 416.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.08689, allocations: 352.5 kB / 416.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.413e-05/0.08699, allocations: 46.52 kB / 416.7 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.08703, allocations: 16.98 kB / 416.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.08715, allocations: 85.09 kB / 416.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.08718, allocations: 30.56 kB / 416.9 MB, free: 5.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.08719, allocations: 3.938 kB / 416.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001819/0.08737, allocations: 73.59 kB / 416.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.08742, allocations: 59.34 kB / 417 MB, free: 5.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.0875, allocations: 117.8 kB / 417.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.08752, allocations: 29.64 kB / 417.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.08758, allocations: 108 kB / 417.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.094e-05/0.08759, allocations: 11.75 kB / 417.3 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.08764, allocations: 25.7 kB / 417.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.08774, allocations: 314.8 kB / 417.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.08777, allocations: 12 kB / 417.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.0878, allocations: 15.98 kB / 417.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/0.08788, allocations: 44.86 kB / 417.7 MB, free: 4.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.08789, allocations: 0 / 417.7 MB, free: 4.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001025/0.088, allocations: 69.59 kB / 417.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.08802, allocations: 4 kB / 417.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.08803, allocations: 4 kB / 417.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.08804, allocations: 0 / 417.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.08813, allocations: 19.92 kB / 417.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.08814, allocations: 3.938 kB / 417.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.08817, allocations: 0 / 417.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.08819, allocations: 4 kB / 417.8 MB, free: 4.691 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 (7): * Single equations (assignments): 7 * 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 7.507e-05/0.08827, allocations: 117.8 kB / 417.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.0883, allocations: 3.906 kB / 417.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.08845, allocations: 85.88 kB / 418 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.08846, allocations: 3.938 kB / 418 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.08847, allocations: 3.938 kB / 418 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.08848, allocations: 0 / 418 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.08866, allocations: 185.6 kB / 418.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.08866, allocations: 0 / 418.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.08872, allocations: 19.98 kB / 418.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.08873, allocations: 0 / 418.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.08874, allocations: 0 / 418.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.08875, allocations: 0 / 418.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.08876, allocations: 3.938 kB / 418.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.08889, allocations: 159.5 kB / 418.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.08894, allocations: 88.95 kB / 418.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.08896, allocations: 3.938 kB / 418.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-05/0.08902, allocations: 4 kB / 418.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.08904, allocations: 15.86 kB / 418.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.08905, allocations: 0 / 418.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.247e-05/0.0891, allocations: 83.28 kB / 418.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.0891, allocations: 0 / 418.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.08933, allocations: 20 kB / 418.5 MB, free: 3.809 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 (6): * Single equations (assignments): 6 * 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.0003924/0.08973, allocations: 0.7007 MB / 419.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.989e-05/0.08984, allocations: 44.11 kB / 419.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.08985, allocations: 0 / 419.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.08989, allocations: 20 kB / 419.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.09009, allocations: 7.938 kB / 419.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.09116, allocations: 1.339 MB / 420.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.0914, allocations: 0.6887 MB / 421.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.176e-05/0.09144, allocations: 7.984 kB / 421.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.09148, allocations: 23.44 kB / 421.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.09149, allocations: 0 / 421.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.1077, allocations: 1.674 MB / 423 MB, free: 15.22 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.1079, allocations: 163.9 kB / 423.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/1.76, allocations: 3.938 kB / 423.2 MB, free: 14.96 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneBank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneBank_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneBank.fmu > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1)