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-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.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.001283/0.001283, allocations: 102.1 kB / 16.45 MB, free: 5.965 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.001228/0.001228, allocations: 194.3 kB / 17.39 MB, free: 5.531 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.36/1.36, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05489/0.05489, allocations: 8.097 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 59.91 kB / 414 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09247/0.09426, allocations: 51.51 MB / 465.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002202/0.09651, allocations: 0.9445 MB / 466.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.0981, allocations: 1.146 MB / 467.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.09816, allocations: 0 / 467.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.09844, allocations: 59.7 kB / 467.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.09861, allocations: 27.84 kB / 467.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.051e-05/0.0987, allocations: 31.89 kB / 467.7 MB, free: 472 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.756e-05/0.09881, allocations: 59.67 kB / 467.7 MB, free: 412 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.09894, allocations: 31.97 kB / 467.8 MB, free: 380 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.606e-05/0.09899, allocations: 19.94 kB / 467.8 MB, free: 360 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.09908, allocations: 27.84 kB / 467.8 MB, free: 332 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.0991, allocations: 4 kB / 467.8 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.09925, allocations: 63.92 kB / 467.9 MB, free: 264 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.09928, allocations: 15.92 kB / 467.9 MB, free: 248 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.09932, allocations: 23.88 kB / 467.9 MB, free: 224 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.09955, allocations: 115.8 kB / 468 MB, free: 108 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.09957, allocations: 4 kB / 468 MB, free: 104 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09958, allocations: 0 / 468 MB, free: 104 kB / 334.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.09959, allocations: 0 / 468 MB, free: 104 kB / 334.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.0006367/0.1002, allocations: 387.2 kB / 468.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.1003, allocations: 19.83 kB / 468.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.1003, allocations: 38.73 kB / 468.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.1004, allocations: 4.938 kB / 468.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.1005, allocations: 172.2 kB / 468.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1005, allocations: 8.375 kB / 468.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1006, allocations: 8.375 kB / 468.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1007, allocations: 82.22 kB / 468.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1008, allocations: 3.938 kB / 468.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1008, allocations: 0 / 468.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1008, allocations: 4 kB / 468.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.757e-05/0.1009, allocations: 43.98 kB / 468.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.1014, allocations: 344.6 kB / 469.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.504e-05/0.1015, allocations: 22.58 kB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.1015, allocations: 20.84 kB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.1016, allocations: 81.09 kB / 469.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1017, allocations: 34.56 kB / 469.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1017, allocations: 0 / 469.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001647/0.1018, allocations: 45.59 kB / 469.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.1019, allocations: 55.41 kB / 469.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.102, allocations: 122 kB / 469.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.102, allocations: 25.7 kB / 469.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.1021, allocations: 123.9 kB / 469.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.316e-06/0.1021, allocations: 7.953 kB / 469.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.1022, allocations: 17.72 kB / 469.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1023, allocations: 318.8 kB / 470 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.1024, allocations: 11.94 kB / 470 MB, free: 13.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.58e-05/0.1024, allocations: 15.98 kB / 470 MB, free: 13.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.351e-05/0.1025, allocations: 28.86 kB / 470 MB, free: 13.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1025, allocations: 0 / 470 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001089/0.1026, allocations: 61.69 kB / 470.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1026, allocations: 4 kB / 470.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1026, allocations: 0 / 470.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1027, allocations: 7.938 kB / 470.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.1027, allocations: 11.98 kB / 470.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1028, allocations: 7.938 kB / 470.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.1028, allocations: 3.953 kB / 470.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1028, allocations: 0 / 470.1 MB, free: 13.74 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.114e-05/0.1029, allocations: 117.8 kB / 470.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.1029, allocations: 0 / 470.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.1031, allocations: 53.17 kB / 470.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1031, allocations: 3.938 kB / 470.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1031, allocations: 0 / 470.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1031, allocations: 3.938 kB / 470.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.1033, allocations: 173.8 kB / 470.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1033, allocations: 4 kB / 470.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.1033, allocations: 11.98 kB / 470.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1034, allocations: 4.031 kB / 470.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1034, allocations: 3.938 kB / 470.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1034, allocations: 3.938 kB / 470.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1034, allocations: 0 / 470.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.1035, allocations: 135.5 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.1036, allocations: 81.09 kB / 470.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1036, allocations: 0 / 470.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.702e-05/0.1036, allocations: 7.969 kB / 470.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.1037, allocations: 0 / 470.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1037, allocations: 4 kB / 470.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.418e-05/0.1037, allocations: 95.27 kB / 470.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1037, allocations: 3.938 kB / 470.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000254/0.104, allocations: 15.94 kB / 470.8 MB, free: 12.93 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 (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.0004782/0.1045, allocations: 0.6812 MB / 471.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.1046, allocations: 23.98 kB / 471.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1046, allocations: 0 / 471.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.559e-05/0.1046, allocations: 7.938 kB / 471.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.1049, allocations: 7.938 kB / 471.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.1053, allocations: 188.6 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1057, allocations: 0.6883 MB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.264e-05/0.1057, allocations: 7.984 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.1057, allocations: 15.44 kB / 472.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1057, allocations: 0 / 472.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.1282, allocations: 1.61 MB / 474.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.771, allocations: 3.938 kB / 474.1 MB, free: 9.66 MB / 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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)