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.001042/0.001042, allocations: 93.05 kB / 16.3 MB, free: 5.996 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.001115/0.001115, allocations: 183.9 kB / 17.2 MB, free: 5.914 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.669/1.669, allocations: 205.4 MB / 223.4 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3404/0.3404, allocations: 38.05 MB / 309.7 MB, free: 8.984 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.0004994/0.0004996, allocations: 12 kB / 376.6 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.109, allocations: 56.34 MB / 432.9 MB, free: 6.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003913/0.113, allocations: 3.095 MB / 436 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1151, allocations: 1.471 MB / 437.5 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.1153, allocations: 11.94 kB / 437.5 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.1154, allocations: 39.75 kB / 437.5 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005095/0.116, allocations: 171.4 kB / 437.7 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.1162, allocations: 99.67 kB / 437.8 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.1165, allocations: 159.6 kB / 438 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006058/0.1171, allocations: 311.1 kB / 438.3 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.1173, allocations: 99.66 kB / 438.4 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.1174, allocations: 83.66 kB / 438.4 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1175, allocations: 8 kB / 438.5 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.1178, allocations: 163.7 kB / 438.6 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1179, allocations: 83.78 kB / 438.7 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.118, allocations: 61.64 kB / 438.8 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.1183, allocations: 259.3 kB / 439 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1183, allocations: 0 / 439 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1183, allocations: 0 / 439 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1183, allocations: 0 / 439 MB, free: 0.6016 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.0006501/0.119, allocations: 482.5 kB / 439.5 MB, free: 84 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.119, allocations: 8.031 kB / 439.5 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.864e-05/0.1191, allocations: 54.55 kB / 439.5 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009824/0.1201, allocations: 123.7 kB / 439.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1205, allocations: 255.2 kB / 439.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.1205, allocations: 19.94 kB / 439.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.1206, allocations: 16 kB / 439.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.121, allocations: 318.3 kB / 440.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.121, allocations: 0 / 440.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.1211, allocations: 11.77 kB / 440.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.1211, allocations: 19.94 kB / 440.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.1215, allocations: 307.7 kB / 440.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.1231, allocations: 1.293 MB / 441.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.1234, allocations: 198.3 kB / 442.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1234, allocations: 0 / 442.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.1235, allocations: 42.73 kB / 442.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1235, allocations: 4 kB / 442.1 MB, free: 13.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000297/0.1238, allocations: 133.4 kB / 442.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.1238, allocations: 85.06 kB / 442.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1241, allocations: 207.8 kB / 442.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1241, allocations: 25.7 kB / 442.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.823e-05/0.1242, allocations: 171.6 kB / 442.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1242, allocations: 35.45 kB / 442.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.1242, allocations: 8 kB / 442.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1244, allocations: 331 kB / 443.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.331e-05/0.1244, allocations: 35.97 kB / 443.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.1246, allocations: 144.7 kB / 443.3 MB, free: 11.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.437e-05/0.1247, allocations: 59.92 kB / 443.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1247, allocations: 0 / 443.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002812/0.125, allocations: 205.4 kB / 443.5 MB, free: 11.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.125, allocations: 8.438 kB / 443.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.125, allocations: 4 kB / 443.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.125, allocations: 8 kB / 443.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.1252, allocations: 47.92 kB / 443.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.1252, allocations: 11.92 kB / 443.6 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1253, allocations: 19.8 kB / 443.6 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1254, allocations: 15.94 kB / 443.6 MB, free: 11.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.1255, allocations: 157.7 kB / 443.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.1255, allocations: 15.81 kB / 443.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.1257, allocations: 115.1 kB / 443.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1258, allocations: 11.94 kB / 443.9 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1258, allocations: 0 / 443.9 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1258, allocations: 0 / 443.9 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006578/0.1264, allocations: 0.572 MB / 444.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1264, allocations: 7.953 kB / 444.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.818e-05/0.1265, allocations: 23.92 kB / 444.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1265, allocations: 0 / 444.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1266, allocations: 8 kB / 444.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1266, allocations: 4 kB / 444.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.1266, allocations: 8.25 kB / 444.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.1269, allocations: 401 kB / 444.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.127, allocations: 96.92 kB / 445 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.127, allocations: 7.984 kB / 445.1 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1271, allocations: 7.938 kB / 445.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.1272, allocations: 15.94 kB / 445.1 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.1272, allocations: 8 kB / 445.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1273, allocations: 149.5 kB / 445.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1273, allocations: 0 / 445.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000331/0.1276, allocations: 51.84 kB / 445.3 MB, free: 9.727 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007242/0.1284, allocations: 1.62 MB / 446.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1286, allocations: 115.8 kB / 447 MB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1286, allocations: 0 / 447 MB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.1286, allocations: 48.92 kB / 447.1 MB, free: 7.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.1289, allocations: 36.33 kB / 447.1 MB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.1311, allocations: 3.298 MB / 450.4 MB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1314, allocations: 0.7557 MB / 451.2 MB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1315, allocations: 41.55 kB / 451.2 MB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.1316, allocations: 59.41 kB / 451.2 MB, free: 3.488 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1316, allocations: 0 / 451.2 MB, free: 3.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.144, allocations: 2.972 MB / 454.2 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.1442, allocations: 179.1 kB / 454.4 MB, free: 272 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.738, allocations: 0 / 454.4 MB, free: 272 kB / 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/linux/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) Environment - environmentSimulation: