Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",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.0009595/0.0009595, allocations: 107.5 kB / 16.62 MB, free: 6.812 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.0009052/0.0009052, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.262/1.262, allocations: 222.9 MB / 241.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1647/0.1647, allocations: 38.02 MB / 329.4 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 66.14 kB / 398.4 MB, free: 34.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09207, allocations: 58.06 MB / 456.4 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004837/0.09694, allocations: 3.693 MB / 460.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.09904, allocations: 1.582 MB / 461.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.09926, allocations: 11.94 kB / 461.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008057/0.1001, allocations: 239.2 kB / 462 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006315/0.1007, allocations: 271.1 kB / 462.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.1011, allocations: 115.7 kB / 462.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004111/0.1015, allocations: 347 kB / 462.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003443/0.1018, allocations: 141.9 kB / 462.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.1021, allocations: 159.4 kB / 463 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.1024, allocations: 171.4 kB / 463.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.1025, allocations: 16 kB / 463.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00048/0.1029, allocations: 319.2 kB / 463.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1031, allocations: 107.7 kB / 463.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1032, allocations: 103.5 kB / 463.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005075/0.1037, allocations: 386.8 kB / 464.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1037, allocations: 0 / 464.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1037, allocations: 3.938 kB / 464.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.1037, allocations: 4 kB / 464.1 MB, free: 0.6328 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006572/0.1044, allocations: 0.5142 MB / 464.6 MB, free: 72 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1044, allocations: 11.89 kB / 464.6 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.197e-05/0.1045, allocations: 50.73 kB / 464.6 MB, free: 0 / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/0.1054, allocations: 100.8 kB / 464.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.1057, allocations: 267.7 kB / 465 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1057, allocations: 16.33 kB / 465 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.1058, allocations: 16.38 kB / 465 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.1063, allocations: 333.8 kB / 465.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1063, allocations: 3.938 kB / 465.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.1063, allocations: 4 kB / 465.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.1064, allocations: 19.98 kB / 465.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/0.1068, allocations: 307.7 kB / 465.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.1083, allocations: 1.268 MB / 467 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.1085, allocations: 173 kB / 467.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.1087, allocations: 101.7 kB / 467.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1087, allocations: 8 kB / 467.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1087, allocations: 34.56 kB / 467.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.1087, allocations: 4 kB / 467.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001408/0.1101, allocations: 0.6684 MB / 467.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1102, allocations: 85.05 kB / 468 MB, free: 12.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1104, allocations: 182.4 kB / 468.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1104, allocations: 29.83 kB / 468.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.1105, allocations: 156 kB / 468.4 MB, free: 12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.1105, allocations: 59.11 kB / 468.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.775e-05/0.1106, allocations: 49.69 kB / 468.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.1107, allocations: 326.8 kB / 468.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.1108, allocations: 79.95 kB / 468.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.111, allocations: 153.3 kB / 469 MB, free: 11.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.1113, allocations: 266.8 kB / 469.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1113, allocations: 0 / 469.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005566/0.1118, allocations: 354 kB / 469.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1119, allocations: 4 kB / 469.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1119, allocations: 4 kB / 469.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/0.1122, allocations: 88.78 kB / 469.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.1124, allocations: 39.92 kB / 469.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.1146, allocations: 2.181 MB / 472 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1147, allocations: 20.05 kB / 472 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.1148, allocations: 11.94 kB / 472 MB, free: 8.172 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.1149, allocations: 161.7 kB / 472.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.1149, allocations: 15.81 kB / 472.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005444/0.1155, allocations: 318.6 kB / 472.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1155, allocations: 4 kB / 472.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.1155, allocations: 4 kB / 472.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1155, allocations: 0 / 472.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.1166, allocations: 0.7448 MB / 473.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1166, allocations: 8.047 kB / 473.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.975e-05/0.1167, allocations: 23.98 kB / 473.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002525/0.1169, allocations: 80.78 kB / 473.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.117, allocations: 0 / 473.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.1187, allocations: 2.04 MB / 475.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1187, allocations: 4.031 kB / 475.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.1193, allocations: 410.5 kB / 475.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.1193, allocations: 96.86 kB / 475.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1194, allocations: 4 kB / 475.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1195, allocations: 12.03 kB / 475.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.1195, allocations: 19.97 kB / 475.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1195, allocations: 4 kB / 475.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.809e-05/0.1197, allocations: 140.3 kB / 476 MB, free: 3.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1197, allocations: 0 / 476 MB, free: 3.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004183/0.1201, allocations: 68 kB / 476.1 MB, free: 3.781 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000731/0.1208, allocations: 0.9583 MB / 477.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006209/0.1215, allocations: 402.3 kB / 477.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1215, allocations: 0 / 477.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.1218, allocations: 265.8 kB / 477.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1222, allocations: 35.05 kB / 477.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.125, allocations: 2.685 MB / 480.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1253, allocations: 0.7636 MB / 481.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.1254, allocations: 37.52 kB / 481.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.135e-05/0.1255, allocations: 63.41 kB / 481.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1255, allocations: 0 / 481.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.078/4.203, allocations: 5.112 MB / 486.4 MB, free: 9.367 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/4.204, allocations: 232.3 kB / 486.6 MB, free: 9.109 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/6.211, allocations: 0 / 486.6 MB, free: 9.109 MB / 366.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)