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.0008754/0.0008755, allocations: 97.14 kB / 15.73 MB, free: 440 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.0009191/0.0009192, allocations: 179.6 kB / 16.62 MB, free: 6.426 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.273/1.273, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1489/0.1489, allocations: 8.079 MB / 299.7 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002913, allocations: 8 kB / 362.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.08911, allocations: 52.51 MB / 415.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.0009921/0.09014, allocations: 0.6277 MB / 416 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.09128, allocations: 1.069 MB / 417.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.09133, allocations: 0 / 417.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.09154, allocations: 59.69 kB / 417.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.09165, allocations: 27.95 kB / 417.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.09211, allocations: 251.1 kB / 417.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.271e-05/0.0922, allocations: 47.88 kB / 417.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.0923, allocations: 28.14 kB / 417.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.033e-05/0.09234, allocations: 23.92 kB / 417.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.85e-05/0.09242, allocations: 23.86 kB / 417.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.09244, allocations: 8 kB / 417.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.09256, allocations: 51.97 kB / 417.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.09259, allocations: 11.92 kB / 417.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.09262, allocations: 37.7 kB / 417.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.09276, allocations: 84.02 kB / 417.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.09277, allocations: 0 / 417.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.09277, allocations: 0 / 417.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.09278, allocations: 0 / 417.7 MB, free: 6.297 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.0004689/0.09325, allocations: 379.2 kB / 418.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.0933, allocations: 8.031 kB / 418.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.09334, allocations: 42.55 kB / 418.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.09337, allocations: 15.84 kB / 418.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.09349, allocations: 171 kB / 418.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.09351, allocations: 8 kB / 418.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.09353, allocations: 4 kB / 418.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.09368, allocations: 77.67 kB / 418.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.0937, allocations: 0 / 418.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.09371, allocations: 4 kB / 418.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.09372, allocations: 3.953 kB / 418.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.09383, allocations: 59.91 kB / 418.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.09428, allocations: 360.5 kB / 418.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.78e-05/0.09438, allocations: 50.5 kB / 418.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.0945, allocations: 81.11 kB / 418.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.09453, allocations: 34.56 kB / 419 MB, free: 4.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.09454, allocations: 0 / 419 MB, free: 4.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000182/0.09472, allocations: 69.81 kB / 419 MB, free: 4.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.09476, allocations: 59.39 kB / 419.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.09484, allocations: 106 kB / 419.2 MB, free: 4.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.09486, allocations: 33.58 kB / 419.2 MB, free: 4.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.09493, allocations: 108 kB / 419.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.09495, allocations: 19.73 kB / 419.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.09496, allocations: 0 / 419.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.09507, allocations: 318.8 kB / 419.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.0951, allocations: 12 kB / 419.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.09513, allocations: 20.05 kB / 419.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.09518, allocations: 16 kB / 419.7 MB, free: 4.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.09519, allocations: 3.953 kB / 419.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001003/0.09529, allocations: 69.69 kB / 419.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.09531, allocations: 4 kB / 419.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.09532, allocations: 0 / 419.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.09533, allocations: 0 / 419.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.09543, allocations: 23.92 kB / 419.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.09545, allocations: 0 / 419.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.09548, allocations: 3.906 kB / 419.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.09549, allocations: 4 kB / 419.8 MB, free: 3.93 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 8.007e-05/0.09558, allocations: 113.8 kB / 419.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.09561, allocations: 3.953 kB / 419.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.09575, allocations: 81.8 kB / 420 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.09576, allocations: 4 kB / 420 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.09577, allocations: 4 kB / 420 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.09578, allocations: 0 / 420 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.09596, allocations: 185.6 kB / 420.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.09597, allocations: 0 / 420.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.078e-05/0.09603, allocations: 15.89 kB / 420.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.09604, allocations: 0 / 420.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.09605, allocations: 4 kB / 420.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.09605, allocations: 0 / 420.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.09606, allocations: 0 / 420.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.0962, allocations: 163.5 kB / 420.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.09625, allocations: 88.94 kB / 420.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.09627, allocations: 11.95 kB / 420.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.09633, allocations: 3.938 kB / 420.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.09635, allocations: 0 / 420.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.09636, allocations: 4 kB / 420.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.7e-05/0.09641, allocations: 91.2 kB / 420.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09642, allocations: 0 / 420.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.09666, allocations: 12 kB / 420.6 MB, free: 3.059 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.0004086/0.09707, allocations: 0.7051 MB / 421.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.78e-05/0.09718, allocations: 36.12 kB / 421.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.09719, allocations: 4 kB / 421.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.09723, allocations: 23.98 kB / 421.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.09736, allocations: 7.953 kB / 421.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.0979, allocations: 408.5 kB / 421.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.09817, allocations: 0.6887 MB / 422.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.755e-05/0.0982, allocations: 4 kB / 422.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.09825, allocations: 23.42 kB / 422.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09825, allocations: 3.938 kB / 422.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01008/0.1083, allocations: 1.579 MB / 424.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/0.1085, allocations: 155.4 kB / 424.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/1.595, allocations: 0 / 424.2 MB, free: 15.33 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: