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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 179.6 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.2 MB / 239.7 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 97.84 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04223/0.04223, allocations: 8.112 MB / 350.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 8.172 kB / 413.2 MB, free: 89.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09258/0.09293, allocations: 52.53 MB / 465.7 MB, free: 42 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3249/0.4178, allocations: 77.96 MB / 0.5309 GB, free: 16.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.4181, allocations: 65 kB / 0.531 GB, free: 16.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006104/0.4242, allocations: 2.559 MB / 0.5335 GB, free: 32.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4243, allocations: 0 / 0.5335 GB, free: 32.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.4243, allocations: 0 / 0.5335 GB, free: 32.21 MB / 378.7 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.0003958/0.4247, allocations: 367.1 kB / 0.5338 GB, free: 31.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4247, allocations: 7.781 kB / 0.5338 GB, free: 31.84 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.002e-05/0.4248, allocations: 40.84 kB / 0.5339 GB, free: 31.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.4248, allocations: 7.859 kB / 0.5339 GB, free: 31.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.189e-05/0.4249, allocations: 173.4 kB / 0.534 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.425, allocations: 7.25 kB / 0.534 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.425, allocations: 8.078 kB / 0.5341 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.4251, allocations: 71.03 kB / 0.5341 GB, free: 31.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4251, allocations: 3.938 kB / 0.5341 GB, free: 31.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4252, allocations: 11.47 kB / 0.5341 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4252, allocations: 5.453 kB / 0.5341 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/0.4253, allocations: 46.22 kB / 0.5342 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.4257, allocations: 344.7 kB / 0.5345 GB, free: 31.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.376e-05/0.4257, allocations: 22.39 kB / 0.5345 GB, free: 31.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.754e-05/0.4258, allocations: 83.75 kB / 0.5346 GB, free: 31.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.4259, allocations: 34.56 kB / 0.5346 GB, free: 31.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4259, allocations: 0 / 0.5346 GB, free: 31.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001471/0.426, allocations: 52 kB / 0.5347 GB, free: 31.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.4261, allocations: 51.41 kB / 0.5347 GB, free: 31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.336e-05/0.4261, allocations: 113.4 kB / 0.5349 GB, free: 30.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.515e-06/0.4262, allocations: 25.7 kB / 0.5349 GB, free: 30.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.4262, allocations: 106.3 kB / 0.535 GB, free: 30.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.4262, allocations: 11.91 kB / 0.535 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.4262, allocations: 4 kB / 0.535 GB, free: 30.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.324e-05/0.4263, allocations: 321.6 kB / 0.5353 GB, free: 30.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.4263, allocations: 11.47 kB / 0.5353 GB, free: 30.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.836e-05/0.4263, allocations: 10.45 kB / 0.5353 GB, free: 30.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/0.4264, allocations: 15.41 kB / 0.5353 GB, free: 30.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4264, allocations: 0 / 0.5353 GB, free: 30.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.693e-05/0.4265, allocations: 69.5 kB / 0.5354 GB, free: 30.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.4265, allocations: 11.72 kB / 0.5354 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.4265, allocations: 0 / 0.5354 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4265, allocations: 4 kB / 0.5354 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.599e-05/0.4266, allocations: 9.828 kB / 0.5354 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4266, allocations: 0 / 0.5354 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.4267, allocations: 0 / 0.5354 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.4267, allocations: 4.719 kB / 0.5354 GB, free: 30.41 MB / 378.7 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 5.541e-05/0.4267, allocations: 115.6 kB / 0.5355 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.4268, allocations: 3.844 kB / 0.5355 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.162e-05/0.4269, allocations: 52.88 kB / 0.5356 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4269, allocations: 4.031 kB / 0.5356 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4269, allocations: 0 / 0.5356 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.4269, allocations: 1.5 kB / 0.5356 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.427, allocations: 182 kB / 0.5358 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.427, allocations: 0 / 0.5358 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.4271, allocations: 3.875 kB / 0.5358 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4271, allocations: 0 / 0.5358 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.4271, allocations: 192 / 0.5358 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4271, allocations: 7.875 kB / 0.5358 GB, free: 30.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4271, allocations: 0 / 0.5358 GB, free: 30.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.749e-05/0.4272, allocations: 143.4 kB / 0.5359 GB, free: 29.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.4272, allocations: 88.88 kB / 0.536 GB, free: 29.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.4272, allocations: 3.625 kB / 0.536 GB, free: 29.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.4273, allocations: 0 / 0.536 GB, free: 29.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.4273, allocations: 2.109 kB / 0.536 GB, free: 29.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-06/0.4273, allocations: 0 / 0.536 GB, free: 29.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.575e-05/0.4274, allocations: 92.73 kB / 0.5361 GB, free: 29.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4274, allocations: 4.031 kB / 0.5361 GB, free: 29.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.4276, allocations: 22.88 kB / 0.5361 GB, free: 29.72 MB / 378.7 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.0003687/0.428, allocations: 0.6774 MB / 0.5368 GB, free: 29.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.318e-05/0.4281, allocations: 23.47 kB / 0.5368 GB, free: 29.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4281, allocations: 0 / 0.5368 GB, free: 29.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.146e-05/0.4281, allocations: 7.656 kB / 0.5368 GB, free: 29.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.4283, allocations: 3.906 kB / 0.5368 GB, free: 29.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.4287, allocations: 219.4 kB / 0.537 GB, free: 28.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.4289, allocations: 0.6854 MB / 0.5377 GB, free: 28.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.272e-05/0.429, allocations: 5.312 kB / 0.5377 GB, free: 28.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.429, allocations: 17.94 kB / 0.5377 GB, free: 28.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.429, allocations: 0 / 0.5377 GB, free: 28.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01138/0.4404, allocations: 1.369 MB / 0.5391 GB, free: 27.97 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.4406, allocations: 151.2 kB / 0.5392 GB, free: 27.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.034, allocations: 3.984 kB / 0.5392 GB, free: 27.73 MB / 378.7 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)