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/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.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.0007185/0.0007187, allocations: 84.19 kB / 15.75 MB, free: 416 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.0009235/0.0009236, allocations: 177.2 kB / 16.63 MB, free: 6.891 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.254/1.254, allocations: 223.3 MB / 240.7 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.14/0.14, allocations: 8.09 MB / 299.8 MB, free: 2.859 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 12 kB / 363 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08943/0.08973, allocations: 52.51 MB / 415.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.0009868/0.09075, allocations: 0.6257 MB / 416.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.09204, allocations: 1.108 MB / 417.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.09211, allocations: 0 / 417.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.09231, allocations: 47.78 kB / 417.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.395e-05/0.09241, allocations: 19.91 kB / 417.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.636e-05/0.09248, allocations: 19.92 kB / 417.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.013e-05/0.09256, allocations: 51.78 kB / 417.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.09267, allocations: 31.95 kB / 417.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.716e-05/0.0927, allocations: 15.94 kB / 417.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.09277, allocations: 27.84 kB / 417.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.09279, allocations: 4 kB / 417.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.09291, allocations: 59.84 kB / 417.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.09293, allocations: 8 kB / 417.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.09296, allocations: 33.64 kB / 417.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.0931, allocations: 76.09 kB / 417.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.09311, allocations: 0 / 417.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09312, allocations: 4 kB / 417.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.105e-06/0.09312, allocations: 0 / 417.6 MB, free: 6.5 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.0004622/0.09359, allocations: 371.2 kB / 417.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.09363, allocations: 12.02 kB / 418 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.09368, allocations: 42.5 kB / 418 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.09371, allocations: 11.86 kB / 418 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.09383, allocations: 159.1 kB / 418.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.09385, allocations: 4 kB / 418.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.09387, allocations: 8 kB / 418.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.09402, allocations: 84.69 kB / 418.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.09404, allocations: 0 / 418.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.09405, allocations: 4 kB / 418.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.09406, allocations: 3.953 kB / 418.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.512e-05/0.09414, allocations: 51.92 kB / 418.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.09456, allocations: 340.5 kB / 418.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.717e-05/0.09462, allocations: 38.52 kB / 418.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.09464, allocations: 8.797 kB / 418.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.09475, allocations: 85.16 kB / 418.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.09478, allocations: 34.56 kB / 418.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.09479, allocations: 0 / 418.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001335/0.09493, allocations: 41.64 kB / 418.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.09497, allocations: 55.53 kB / 418.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.09507, allocations: 129.8 kB / 419 MB, free: 4.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.09508, allocations: 25.7 kB / 419.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.09514, allocations: 111.8 kB / 419.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.272e-06/0.09515, allocations: 3.906 kB / 419.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.09516, allocations: 0 / 419.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.09527, allocations: 318.8 kB / 419.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.0953, allocations: 15.98 kB / 419.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.017e-05/0.09533, allocations: 12 kB / 419.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.993e-05/0.09536, allocations: 12 kB / 419.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.09537, allocations: 0 / 419.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.639e-05/0.09547, allocations: 69.81 kB / 419.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.09549, allocations: 4 kB / 419.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.09551, allocations: 4.062 kB / 419.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.09552, allocations: 7.922 kB / 419.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/0.09559, allocations: 8 kB / 419.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.0956, allocations: 320 / 419.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.09565, allocations: 3.938 kB / 419.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.09567, allocations: 4 kB / 419.6 MB, free: 4.215 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.09574, allocations: 117.8 kB / 419.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.09577, allocations: 7.906 kB / 419.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.8e-05/0.09586, allocations: 49.2 kB / 419.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.09588, allocations: 0 / 419.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.09589, allocations: 0 / 419.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.09589, allocations: 3.938 kB / 419.8 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.09605, allocations: 181.6 kB / 420 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.09606, allocations: 0 / 420 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.09608, allocations: 4 kB / 420 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.09609, allocations: 4.031 kB / 420 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.0961, allocations: 0 / 420 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.09611, allocations: 0 / 420 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.09612, allocations: 7.922 kB / 420 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.351e-05/0.09621, allocations: 139.5 kB / 420.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.09626, allocations: 81.02 kB / 420.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.09628, allocations: 4 kB / 420.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.09634, allocations: 4.031 kB / 420.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.09636, allocations: 0 / 420.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.09637, allocations: 0 / 420.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.344e-05/0.09642, allocations: 95.27 kB / 420.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09643, allocations: 0 / 420.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.09666, allocations: 12 kB / 420.3 MB, free: 3.418 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 (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.0003433/0.09701, allocations: 0.6816 MB / 421 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.131e-05/0.0971, allocations: 23.98 kB / 421 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.09711, allocations: 0 / 421 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.09713, allocations: 7.938 kB / 421 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.09733, allocations: 4 kB / 421 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.09775, allocations: 220.2 kB / 421.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.09796, allocations: 0.6887 MB / 421.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.691e-05/0.098, allocations: 128 / 421.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.09803, allocations: 15.44 kB / 422 MB, free: 1.684 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09804, allocations: 4 kB / 422 MB, free: 1.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0111/0.1091, allocations: 1.388 MB / 423.3 MB, free: 392 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.1094, allocations: 163.2 kB / 423.5 MB, free: 136 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/1.604, allocations: 0 / 423.5 MB, free: 136 kB / 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/linux/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) Environment - environmentSimulation: