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.001048/0.001048, allocations: 113.8 kB / 17.07 MB, free: 5.973 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.001147/0.001147, allocations: 194.9 kB / 18 MB, free: 5.059 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.295/1.295, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1792/0.1792, allocations: 37.99 MB / 309.2 MB, free: 5.949 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.001339/0.001339, allocations: 59.91 kB / 431.4 MB, free: 16.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.103, allocations: 55.26 MB / 486.6 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004465/0.1075, allocations: 3.426 MB / 490 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1096, allocations: 1.567 MB / 491.6 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1097, allocations: 4 kB / 491.6 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007829/0.1105, allocations: 262.9 kB / 491.9 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006067/0.1111, allocations: 275 kB / 492.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.1114, allocations: 135.6 kB / 492.3 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004304/0.1119, allocations: 331.1 kB / 492.6 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.1122, allocations: 134.4 kB / 492.7 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.1125, allocations: 155.3 kB / 492.9 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.1127, allocations: 151.5 kB / 493 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.1127, allocations: 12 kB / 493 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005403/0.1133, allocations: 339.1 kB / 493.4 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1134, allocations: 95.77 kB / 493.5 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1135, allocations: 103.5 kB / 493.6 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.114, allocations: 359.3 kB / 493.9 MB, free: 1.617 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.114, allocations: 0 / 493.9 MB, free: 1.617 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.114, allocations: 0 / 493.9 MB, free: 1.617 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.114, allocations: 0 / 493.9 MB, free: 1.617 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.0006893/0.1147, allocations: 0.5103 MB / 494.4 MB, free: 1.059 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1148, allocations: 15.89 kB / 494.4 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.626e-05/0.1149, allocations: 54.73 kB / 494.5 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009368/0.1158, allocations: 104.5 kB / 494.6 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.1161, allocations: 272.3 kB / 494.9 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.1162, allocations: 20.38 kB / 494.9 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.1162, allocations: 19.94 kB / 494.9 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.1166, allocations: 326.2 kB / 495.2 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.1167, allocations: 0 / 495.2 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.1167, allocations: 8 kB / 495.2 MB, free: 192 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/0.1167, allocations: 19.98 kB / 495.2 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000444/0.1172, allocations: 303.8 kB / 495.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.1188, allocations: 1.281 MB / 496.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.1191, allocations: 202.5 kB / 497 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.448e-05/0.1191, allocations: 49.7 kB / 497.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1192, allocations: 4 kB / 497.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1192, allocations: 30.56 kB / 497.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1192, allocations: 0 / 497.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002882/0.1195, allocations: 137.4 kB / 497.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.1196, allocations: 85.05 kB / 497.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1198, allocations: 215.9 kB / 497.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1198, allocations: 29.7 kB / 497.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1199, allocations: 175.5 kB / 497.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.1199, allocations: 31.55 kB / 497.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.12, allocations: 37.72 kB / 497.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1201, allocations: 330.8 kB / 498.1 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.989e-05/0.1202, allocations: 35.98 kB / 498.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1203, allocations: 144.6 kB / 498.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.1205, allocations: 200.9 kB / 498.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1205, allocations: 0 / 498.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002693/0.1208, allocations: 201.2 kB / 498.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1208, allocations: 11.98 kB / 498.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1208, allocations: 4 kB / 498.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1208, allocations: 4 kB / 498.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.121, allocations: 47.92 kB / 498.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.121, allocations: 7.938 kB / 498.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1211, allocations: 27.73 kB / 498.8 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1212, allocations: 12.33 kB / 498.8 MB, free: 12.3 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.0001212/0.1213, allocations: 161.6 kB / 499 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.1213, allocations: 15.81 kB / 499 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.1215, allocations: 119 kB / 499.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1215, allocations: 4 kB / 499.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1216, allocations: 4 kB / 499.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1216, allocations: 4 kB / 499.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006501/0.1222, allocations: 0.5759 MB / 499.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1222, allocations: 0 / 499.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.246e-05/0.1223, allocations: 24.19 kB / 499.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1223, allocations: 11.94 kB / 499.7 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1223, allocations: 8 kB / 499.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.1224, allocations: 7.984 kB / 499.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1224, allocations: 3.938 kB / 499.7 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.1226, allocations: 271.9 kB / 500 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.1227, allocations: 104.8 kB / 0.4884 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.1227, allocations: 7.938 kB / 0.4884 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1228, allocations: 8 kB / 0.4884 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.1228, allocations: 11.98 kB / 0.4884 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1229, allocations: 8 kB / 0.4884 GB, free: 10.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.123, allocations: 149.5 kB / 0.4886 GB, free: 10.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.123, allocations: 192 / 0.4886 GB, free: 10.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.1233, allocations: 55.84 kB / 0.4886 GB, free: 10.59 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.0004819/0.1238, allocations: 0.822 MB / 0.4894 GB, free: 9.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.124, allocations: 108.6 kB / 0.4895 GB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.124, allocations: 4.062 kB / 0.4895 GB, free: 9.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/0.1241, allocations: 51.84 kB / 0.4896 GB, free: 9.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.1245, allocations: 40.55 kB / 0.4896 GB, free: 9.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.1267, allocations: 2.31 MB / 0.4919 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.127, allocations: 0.7592 MB / 0.4926 GB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.663e-05/0.1271, allocations: 33.52 kB / 0.4926 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.558e-05/0.1272, allocations: 63.41 kB / 0.4927 GB, free: 6.098 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1272, allocations: 3.938 kB / 0.4927 GB, free: 6.094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.1457, allocations: 3.353 MB / 0.496 GB, free: 2.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/7.502, allocations: 12.06 kB / 0.496 GB, free: 2.676 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)