Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",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.001892/0.001892, allocations: 102.2 kB / 16.45 MB, free: 6.441 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.002024/0.002024, allocations: 189.4 kB / 17.38 MB, free: 5.691 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.405/1.405, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05159/0.05159, allocations: 8.101 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 67.89 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08528/0.08714, allocations: 51.51 MB / 465.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.003284/0.09047, allocations: 2.105 MB / 467.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.09274, allocations: 1.524 MB / 469.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.09287, allocations: 4 kB / 469.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.0933, allocations: 135.2 kB / 469.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.09371, allocations: 163 kB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.09567, allocations: 1.081 MB / 470.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.0961, allocations: 314.5 kB / 470.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.09633, allocations: 128.3 kB / 470.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.09647, allocations: 123.6 kB / 471.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.09668, allocations: 159.2 kB / 471.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.09673, allocations: 24 kB / 471.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004592/0.0972, allocations: 255.7 kB / 471.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.014e-05/0.09726, allocations: 55.83 kB / 471.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.09744, allocations: 151.2 kB / 471.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.09811, allocations: 498.2 kB / 472.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.09813, allocations: 4 kB / 472.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09814, allocations: 0 / 472.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.09815, allocations: 0 / 472.2 MB, free: 11.95 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.004103/0.1023, allocations: 1.138 MB / 473.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1023, allocations: 12.03 kB / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.1024, allocations: 63.28 kB / 473.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.509e-05/0.1025, allocations: 36.7 kB / 473.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.1028, allocations: 287.8 kB / 473.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1029, allocations: 24.94 kB / 473.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.073e-05/0.1029, allocations: 28.38 kB / 473.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006399/0.1036, allocations: 381 kB / 474.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1036, allocations: 3.938 kB / 474.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.1037, allocations: 15.94 kB / 474.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.1037, allocations: 8 kB / 474.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005241/0.1042, allocations: 310.1 kB / 474.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.1064, allocations: 1.459 MB / 475.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.1075, allocations: 390.7 kB / 476.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.1078, allocations: 181.3 kB / 476.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.358e-05/0.1079, allocations: 11.98 kB / 476.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.1079, allocations: 46.5 kB / 476.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.1079, allocations: 0 / 476.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.004472/0.1124, allocations: 1.254 MB / 477.8 MB, free: 6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.1125, allocations: 110.8 kB / 477.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.1127, allocations: 220.1 kB / 478.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.1128, allocations: 33.7 kB / 478.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1129, allocations: 168.6 kB / 478.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.1131, allocations: 103.1 kB / 478.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.1132, allocations: 82.11 kB / 478.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1134, allocations: 334.8 kB / 478.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.1138, allocations: 208.8 kB / 479 MB, free: 4.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.1142, allocations: 260.1 kB / 479.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007511/0.1149, allocations: 465 kB / 479.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.115, allocations: 3.938 kB / 479.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002353/0.1173, allocations: 0.8409 MB / 480.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1174, allocations: 4 kB / 480.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1174, allocations: 4 kB / 480.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/0.1196, allocations: 453.1 kB / 481 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.12, allocations: 67.89 kB / 481.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005782/0.1257, allocations: 4.126 MB / 485.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.1262, allocations: 51.83 kB / 485.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.1262, allocations: 15.98 kB / 485.3 MB, free: 14.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002066/0.1264, allocations: 145.7 kB / 485.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.1265, allocations: 27.81 kB / 485.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.1289, allocations: 0.7939 MB / 486.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1289, allocations: 4 kB / 486.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1289, allocations: 0 / 486.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1289, allocations: 3.984 kB / 486.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.1295, allocations: 437.1 kB / 486.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1295, allocations: 0 / 486.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.1297, allocations: 43.92 kB / 486.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002142/0.1318, allocations: 445.2 kB / 487.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.1319, allocations: 11.94 kB / 487.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005657/0.1375, allocations: 4.13 MB / 491.3 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1375, allocations: 0 / 491.3 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.1398, allocations: 0.805 MB / 492.1 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.14, allocations: 104.9 kB / 492.2 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.14, allocations: 12 kB / 492.2 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.1403, allocations: 19.98 kB / 492.2 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/0.1404, allocations: 27.97 kB / 492.3 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.1404, allocations: 8 kB / 492.3 MB, free: 6.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.1406, allocations: 160.5 kB / 492.4 MB, free: 6.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1406, allocations: 0 / 492.4 MB, free: 6.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005636/0.1412, allocations: 127.9 kB / 492.6 MB, free: 6.445 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002963/0.1442, allocations: 1.643 MB / 494.2 MB, free: 4.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.1461, allocations: 0.8082 MB / 495 MB, free: 3.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.1462, allocations: 4 kB / 495 MB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.1476, allocations: 0.5597 MB / 495.6 MB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1479, allocations: 20.67 kB / 495.6 MB, free: 3.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00735/0.1553, allocations: 3.872 MB / 499.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.1557, allocations: 0.7688 MB / 0.4885 GB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.1559, allocations: 37.91 kB / 0.4886 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.156, allocations: 95.41 kB / 0.4886 GB, free: 14.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.495e-06/0.156, allocations: 0 / 0.4886 GB, free: 14.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0387/0.1948, allocations: 9.504 MB / 0.4979 GB, free: 5.055 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.32, allocations: 16.52 kB / 0.4979 GB, free: 5.043 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)