Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",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.001111/0.001111, allocations: 112.7 kB / 17.06 MB, free: 5.988 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.001137/0.001138, allocations: 200 kB / 18 MB, free: 5.066 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.316/1.316, 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.1946/0.1946, allocations: 37.99 MB / 309.2 MB, free: 5.965 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.001611/0.001611, allocations: 79.88 kB / 431.4 MB, free: 16.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1068, allocations: 55.24 MB / 486.6 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005475/0.1123, allocations: 3.434 MB / 490 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1146, allocations: 1.567 MB / 491.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.1148, allocations: 7.938 kB / 491.6 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.1158, allocations: 259 kB / 491.9 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007811/0.1166, allocations: 274.9 kB / 492.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.1171, allocations: 131.6 kB / 492.3 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005662/0.1177, allocations: 335 kB / 492.6 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.118, allocations: 130.5 kB / 492.7 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.1184, allocations: 159.3 kB / 492.9 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.1188, allocations: 147.5 kB / 493 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.1188, allocations: 16 kB / 493 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006373/0.1195, allocations: 339.1 kB / 493.4 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.1196, allocations: 95.75 kB / 493.5 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.1198, allocations: 107.5 kB / 493.6 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.1203, allocations: 351.3 kB / 493.9 MB, free: 1.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1204, allocations: 0 / 493.9 MB, free: 1.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1204, allocations: 0 / 493.9 MB, free: 1.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.1204, allocations: 4 kB / 493.9 MB, free: 1.625 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.0009094/0.1213, allocations: 0.5103 MB / 494.4 MB, free: 1.066 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.1214, allocations: 11.89 kB / 494.4 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.946e-05/0.1214, allocations: 58.67 kB / 494.5 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.1225, allocations: 108.5 kB / 494.6 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.123, allocations: 268.4 kB / 494.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.1231, allocations: 20.31 kB / 494.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.1231, allocations: 19.94 kB / 494.9 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.1237, allocations: 326.2 kB / 495.2 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.1237, allocations: 0 / 495.2 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.1238, allocations: 12 kB / 495.2 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.1238, allocations: 19.94 kB / 495.2 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005112/0.1243, allocations: 299.7 kB / 495.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.1261, allocations: 1.281 MB / 496.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.1265, allocations: 194.3 kB / 497 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.311e-05/0.1265, allocations: 53.7 kB / 497.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1266, allocations: 0 / 497.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1266, allocations: 34.69 kB / 497.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.1266, allocations: 4 kB / 497.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003531/0.127, allocations: 137.4 kB / 497.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.127, allocations: 77.11 kB / 497.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.1272, allocations: 219.8 kB / 497.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1273, allocations: 25.7 kB / 497.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.1274, allocations: 175.5 kB / 497.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.1274, allocations: 31.55 kB / 497.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.1275, allocations: 45.7 kB / 497.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1277, allocations: 322.8 kB / 498.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.636e-05/0.1277, allocations: 43.91 kB / 498.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1279, allocations: 132.7 kB / 498.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.1281, allocations: 200.9 kB / 498.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.1281, allocations: 4 kB / 498.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003413/0.1285, allocations: 209.2 kB / 498.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1285, allocations: 4 kB / 498.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1285, allocations: 4.109 kB / 498.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.1286, allocations: 15.98 kB / 498.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.1288, allocations: 47.91 kB / 498.8 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.1288, allocations: 7.984 kB / 498.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.1289, allocations: 23.75 kB / 498.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1289, allocations: 8.344 kB / 498.8 MB, free: 12.31 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (23): * Single equations (assignments): 23 * 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 0.0001619/0.1291, allocations: 165.6 kB / 499 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.1292, allocations: 15.81 kB / 499 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.1294, allocations: 115 kB / 499.1 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1294, allocations: 4 kB / 499.1 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1294, allocations: 3.984 kB / 499.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1294, allocations: 0 / 499.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000762/0.1302, allocations: 0.5797 MB / 499.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.1302, allocations: 4 kB / 499.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.148e-05/0.1303, allocations: 24.23 kB / 499.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1303, allocations: 7.938 kB / 499.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1303, allocations: 4 kB / 499.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.1304, allocations: 4 kB / 499.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1304, allocations: 7.938 kB / 499.7 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.1306, allocations: 283.8 kB / 500 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.1307, allocations: 96.86 kB / 0.4884 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.1308, allocations: 11.92 kB / 0.4884 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1309, allocations: 8 kB / 0.4884 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.1309, allocations: 15.92 kB / 0.4884 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1309, allocations: 4 kB / 0.4884 GB, free: 10.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1311, allocations: 153.7 kB / 0.4886 GB, free: 10.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1311, allocations: 0 / 0.4886 GB, free: 10.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003669/0.1314, allocations: 55.78 kB / 0.4886 GB, free: 10.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00059/0.132, allocations: 0.8143 MB / 0.4894 GB, free: 9.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.1323, allocations: 120.5 kB / 0.4895 GB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1323, allocations: 4.062 kB / 0.4895 GB, free: 9.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.1324, allocations: 43.86 kB / 0.4896 GB, free: 9.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.1328, allocations: 40.38 kB / 0.4896 GB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.1355, allocations: 2.314 MB / 0.4919 GB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1359, allocations: 0.7592 MB / 0.4926 GB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.136, allocations: 37.52 kB / 0.4926 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.572e-05/0.1361, allocations: 59.42 kB / 0.4927 GB, free: 6.102 MB / 382.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1361, allocations: 0 / 0.4927 GB, free: 6.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.1583, allocations: 3.361 MB / 0.496 GB, free: 2.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/7.799, allocations: 7.953 kB / 0.496 GB, free: 2.68 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)