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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001099/0.0011, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001243/0.001243, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1717/0.1717, allocations: 37.99 MB / 309.2 MB, free: 5.969 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.91 kB / 431.4 MB, free: 16.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09413/0.09551, allocations: 55.25 MB / 486.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.00485/0.1004, allocations: 3.465 MB / 490.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.1025, allocations: 1.571 MB / 491.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.1027, allocations: 7.938 kB / 491.6 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008083/0.1036, allocations: 254.9 kB / 491.9 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006395/0.1043, allocations: 286.9 kB / 492.2 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.1046, allocations: 127.6 kB / 492.3 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004298/0.1051, allocations: 350.9 kB / 492.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.1054, allocations: 126.5 kB / 492.8 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.1057, allocations: 159.4 kB / 492.9 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.1059, allocations: 155.4 kB / 493.1 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.106, allocations: 16 kB / 493.1 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005356/0.1065, allocations: 319.2 kB / 493.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1066, allocations: 95.77 kB / 493.5 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.1068, allocations: 115.4 kB / 493.6 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005837/0.1074, allocations: 355.3 kB / 494 MB, free: 1.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1074, allocations: 0 / 494 MB, free: 1.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1074, allocations: 0 / 494 MB, free: 1.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1074, allocations: 0 / 494 MB, free: 1.469 MB / 366.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.0007731/0.1082, allocations: 0.5259 MB / 494.5 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1083, allocations: 11.89 kB / 494.5 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.451e-05/0.1083, allocations: 54.67 kB / 494.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009809/0.1093, allocations: 104.6 kB / 494.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.1097, allocations: 271.8 kB / 494.9 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1097, allocations: 12.38 kB / 494.9 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.1097, allocations: 20.36 kB / 494.9 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.1102, allocations: 341.4 kB / 495.3 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1103, allocations: 0 / 495.3 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.1103, allocations: 8 kB / 495.3 MB, free: 20 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.1103, allocations: 19.98 kB / 495.3 MB, free: 0 / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.1108, allocations: 307.7 kB / 495.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.1123, allocations: 1.256 MB / 496.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.1126, allocations: 161.1 kB / 497 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.1128, allocations: 109.7 kB / 497.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1128, allocations: 4 kB / 497.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1128, allocations: 42.5 kB / 497.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.913e-06/0.1128, allocations: 0 / 497.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.00148/0.1143, allocations: 0.6698 MB / 497.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.1144, allocations: 81.05 kB / 497.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.1146, allocations: 186.4 kB / 498.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.1146, allocations: 29.7 kB / 498.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1147, allocations: 160 kB / 498.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.1147, allocations: 67.09 kB / 498.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.97e-05/0.1148, allocations: 41.7 kB / 498.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.115, allocations: 334.8 kB / 498.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1151, allocations: 79.89 kB / 498.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.1153, allocations: 156.5 kB / 499 MB, free: 12.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.1156, allocations: 252.4 kB / 499.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1156, allocations: 0 / 499.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000616/0.1162, allocations: 354 kB / 499.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1162, allocations: 4 kB / 499.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1162, allocations: 4 kB / 499.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/0.1166, allocations: 96.77 kB / 499.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.1168, allocations: 35.92 kB / 499.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.1191, allocations: 2.174 MB / 0.4901 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.1193, allocations: 8 kB / 0.4901 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.1193, allocations: 11.98 kB / 0.4901 GB, free: 9.008 MB / 382.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.0001413/0.1195, allocations: 153.7 kB / 0.4903 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.1195, allocations: 19.81 kB / 0.4903 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006065/0.1201, allocations: 328 kB / 0.4906 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.1202, allocations: 48 / 0.4906 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1202, allocations: 11.92 kB / 0.4906 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1202, allocations: 0 / 0.4906 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.1213, allocations: 0.7505 MB / 0.4913 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1213, allocations: 4 kB / 0.4913 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.1214, allocations: 23.98 kB / 0.4914 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002729/0.1217, allocations: 88.77 kB / 0.4914 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1217, allocations: 8 kB / 0.4915 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.1237, allocations: 2.04 MB / 0.4934 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1237, allocations: 0 / 0.4934 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.1243, allocations: 410.5 kB / 0.4938 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.05e-05/0.1244, allocations: 96.84 kB / 0.4939 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.1244, allocations: 8 kB / 0.4939 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.1245, allocations: 7.984 kB / 0.4939 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.1246, allocations: 15.98 kB / 0.494 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1246, allocations: 4 kB / 0.494 GB, free: 4.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.1247, allocations: 144.3 kB / 0.4941 GB, free: 4.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1247, allocations: 0 / 0.4941 GB, free: 4.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004481/0.1252, allocations: 68 kB / 0.4942 GB, free: 4.582 MB / 382.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.0008286/0.126, allocations: 0.9379 MB / 0.4951 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006865/0.1267, allocations: 378.8 kB / 0.4954 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.1267, allocations: 4.062 kB / 0.4954 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.1271, allocations: 258.4 kB / 0.4957 GB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.1276, allocations: 39.97 kB / 0.4957 GB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.1307, allocations: 2.619 MB / 0.4983 GB, free: 136 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.131, allocations: 0.7675 MB / 0.499 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.1312, allocations: 49.48 kB / 0.4991 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.1313, allocations: 67.41 kB / 0.4992 GB, free: 15.23 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1313, allocations: 0 / 0.4992 GB, free: 15.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.1585, allocations: 5.402 MB / 0.5044 GB, free: 9.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.04, allocations: 8.062 kB / 0.5044 GB, free: 9.762 MB / 398.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)