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/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 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.0007819/0.000782, allocations: 96.7 kB / 15.74 MB, free: 424 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.0007775/0.0007777, allocations: 174.3 kB / 16.62 MB, free: 6.434 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.256/1.256, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1435/0.1435, allocations: 8.083 MB / 299.8 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003003, allocations: 8 kB / 362.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08705/0.08737, allocations: 52.52 MB / 415.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.0009419/0.08835, allocations: 0.653 MB / 416.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.08942, allocations: 1.065 MB / 417.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.08947, allocations: 0 / 417.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.08967, allocations: 59.75 kB / 417.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.658e-05/0.08977, allocations: 31.78 kB / 417.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.09021, allocations: 251.2 kB / 417.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.235e-05/0.0903, allocations: 55.73 kB / 417.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.424e-05/0.09039, allocations: 20.16 kB / 417.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.898e-05/0.09043, allocations: 27.91 kB / 417.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.0905, allocations: 23.86 kB / 417.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.09052, allocations: 4 kB / 417.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.09065, allocations: 67.91 kB / 417.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.09067, allocations: 7.938 kB / 417.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.0907, allocations: 33.7 kB / 417.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.09084, allocations: 96 kB / 417.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.09085, allocations: 0 / 417.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09085, allocations: 0 / 417.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.09086, allocations: 0 / 417.8 MB, free: 6.223 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.0004428/0.09131, allocations: 383.1 kB / 418.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.09135, allocations: 8.031 kB / 418.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.0914, allocations: 42.56 kB / 418.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.09142, allocations: 11.86 kB / 418.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.09154, allocations: 174.9 kB / 418.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.09158, allocations: 11.97 kB / 418.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.09159, allocations: 4 kB / 418.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.09173, allocations: 77.67 kB / 418.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.09175, allocations: 0 / 418.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.09177, allocations: 8 kB / 418.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.09177, allocations: 0 / 418.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.009e-05/0.09187, allocations: 55.94 kB / 418.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.0923, allocations: 364.5 kB / 419 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.898e-05/0.09239, allocations: 42.56 kB / 419 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.09242, allocations: 20.92 kB / 419 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.09253, allocations: 81.09 kB / 419.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.09256, allocations: 42.56 kB / 419.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.09257, allocations: 0 / 419.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001633/0.09274, allocations: 69.62 kB / 419.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.09278, allocations: 51.41 kB / 419.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.783e-05/0.09285, allocations: 113.8 kB / 419.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.09287, allocations: 25.7 kB / 419.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.09292, allocations: 108 kB / 419.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.09294, allocations: 15.75 kB / 419.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.09295, allocations: 8 kB / 419.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.09304, allocations: 314.8 kB / 419.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.719e-05/0.09307, allocations: 15.98 kB / 419.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.0931, allocations: 16 kB / 419.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.963e-05/0.09314, allocations: 12 kB / 419.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.09315, allocations: 3.953 kB / 419.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.812e-05/0.09326, allocations: 69.69 kB / 419.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.09328, allocations: 8 kB / 420 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.09329, allocations: 3.938 kB / 420 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.0933, allocations: 4 kB / 420 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.192e-05/0.09338, allocations: 11.98 kB / 420 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.09339, allocations: 0 / 420 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.09342, allocations: 7.906 kB / 420 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.09343, allocations: 3.938 kB / 420 MB, free: 3.832 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.129e-05/0.0935, allocations: 113.8 kB / 420.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.09353, allocations: 7.953 kB / 420.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.09367, allocations: 85.8 kB / 420.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.09368, allocations: 4 kB / 420.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.09369, allocations: 0 / 420.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.09369, allocations: 0 / 420.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.09386, allocations: 181.6 kB / 420.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.09387, allocations: 3.984 kB / 420.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.09392, allocations: 15.89 kB / 420.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.09393, allocations: 0 / 420.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.09394, allocations: 0 / 420.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.09395, allocations: 4 kB / 420.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.09395, allocations: 0 / 420.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.09408, allocations: 159.5 kB / 420.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.09413, allocations: 92.94 kB / 420.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.09415, allocations: 3.953 kB / 420.6 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.0942, allocations: 0 / 420.6 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.09423, allocations: 11.98 kB / 420.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.09423, allocations: 0 / 420.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.335e-05/0.09427, allocations: 79.28 kB / 420.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09428, allocations: 0 / 420.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.09451, allocations: 23.98 kB / 420.8 MB, free: 2.961 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003844/0.0949, allocations: 0.7011 MB / 421.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.09501, allocations: 44.17 kB / 421.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.09502, allocations: 0 / 421.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.065e-05/0.09506, allocations: 23.94 kB / 421.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.09526, allocations: 7.953 kB / 421.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006584/0.09592, allocations: 494.6 kB / 422 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.09616, allocations: 0.6848 MB / 422.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.174e-05/0.0962, allocations: 11.89 kB / 422.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.09624, allocations: 20.38 kB / 422.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09625, allocations: 0 / 422.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01006/0.1063, allocations: 1.603 MB / 424.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.1065, allocations: 162.5 kB / 424.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/1.596, allocations: 0 / 424.5 MB, free: 15.12 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/linux/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) Environment - environmentSimulation: