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.0015/0.0015, allocations: 104.6 kB / 16.45 MB, free: 6.434 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.00185/0.00185, allocations: 189.5 kB / 17.39 MB, free: 5.676 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.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04918/0.04918, allocations: 8.091 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.91 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1044, allocations: 51.52 MB / 465.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.003854/0.1083, allocations: 2.093 MB / 467.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.1106, allocations: 1.528 MB / 469.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.1109, allocations: 4 kB / 469.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004724/0.1114, allocations: 135.2 kB / 469.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005765/0.112, allocations: 174.9 kB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.1139, allocations: 1.073 MB / 470.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005277/0.1145, allocations: 310.5 kB / 470.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.1147, allocations: 122.9 kB / 470.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.1149, allocations: 127.5 kB / 471.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1151, allocations: 163.3 kB / 471.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.814e-05/0.1152, allocations: 24 kB / 471.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004795/0.1157, allocations: 247.8 kB / 471.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.1157, allocations: 63.81 kB / 471.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.1159, allocations: 151.2 kB / 471.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006724/0.1166, allocations: 483.5 kB / 472.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1166, allocations: 0 / 472.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.851e-06/0.1166, allocations: 0 / 472.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.1166, allocations: 7.875 kB / 472.2 MB, free: 11.96 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.004002/0.1206, allocations: 1.139 MB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1207, allocations: 8.031 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.1208, allocations: 63.28 kB / 473.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/0.1209, allocations: 36.56 kB / 473.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.1212, allocations: 283.7 kB / 473.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1212, allocations: 20.94 kB / 473.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.1213, allocations: 32.38 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005958/0.1219, allocations: 385 kB / 474.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1219, allocations: 3.938 kB / 474.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.122, allocations: 8 kB / 474.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.122, allocations: 8 kB / 474.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.1225, allocations: 310.1 kB / 474.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.1249, allocations: 1.458 MB / 475.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.126, allocations: 401.6 kB / 476.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.1263, allocations: 181.3 kB / 476.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-05/0.1264, allocations: 19.98 kB / 476.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.1264, allocations: 38.5 kB / 476.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.724e-06/0.1264, allocations: 0 / 476.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.004146/0.1306, allocations: 1.25 MB / 477.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.1306, allocations: 106.8 kB / 477.9 MB, free: 5.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1308, allocations: 220.1 kB / 478.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.1309, allocations: 37.7 kB / 478.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.131, allocations: 160.3 kB / 478.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.715e-05/0.1311, allocations: 98.55 kB / 478.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.1312, allocations: 90.05 kB / 478.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1314, allocations: 330.8 kB / 478.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.1317, allocations: 212.8 kB / 479 MB, free: 4.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.132, allocations: 256.1 kB / 479.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.1327, allocations: 457.1 kB / 479.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1327, allocations: 0 / 479.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00217/0.1349, allocations: 0.8524 MB / 480.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1349, allocations: 8 kB / 480.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1349, allocations: 3.984 kB / 480.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00217/0.1371, allocations: 445.2 kB / 481 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.1374, allocations: 75.89 kB / 481.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00566/0.1431, allocations: 4.125 MB / 485.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.1434, allocations: 47.7 kB / 485.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.1435, allocations: 8 kB / 485.3 MB, free: 14.15 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.0002444/0.1437, allocations: 157.7 kB / 485.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/0.1438, allocations: 19.72 kB / 485.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.1461, allocations: 0.7862 MB / 486.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1462, allocations: 4 kB / 486.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.1462, allocations: 4 kB / 486.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1462, allocations: 0 / 486.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.1467, allocations: 445 kB / 486.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.1468, allocations: 0 / 486.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.1469, allocations: 47.86 kB / 486.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/0.149, allocations: 441.2 kB / 487.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.149, allocations: 4 kB / 487.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005542/0.1546, allocations: 4.138 MB / 491.3 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1546, allocations: 0 / 491.3 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.1567, allocations: 0.8049 MB / 492.1 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.281e-05/0.1568, allocations: 108.7 kB / 492.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.1568, allocations: 12 kB / 492.2 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.1571, allocations: 12 kB / 492.2 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.1572, allocations: 31.89 kB / 492.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.1572, allocations: 12 kB / 492.2 MB, free: 6.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1574, allocations: 160.5 kB / 492.4 MB, free: 6.602 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1574, allocations: 0 / 492.4 MB, free: 6.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005409/0.1579, allocations: 131.8 kB / 492.5 MB, free: 6.473 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.002782/0.1607, allocations: 1.624 MB / 494.2 MB, free: 4.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001887/0.1626, allocations: 0.8199 MB / 495 MB, free: 3.969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.1626, allocations: 0 / 495 MB, free: 3.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.1639, allocations: 0.5519 MB / 495.5 MB, free: 3.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1643, allocations: 32.59 kB / 495.6 MB, free: 3.359 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006968/0.1713, allocations: 3.847 MB / 499.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.1716, allocations: 0.7726 MB / 0.4885 GB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.1718, allocations: 37.92 kB / 0.4885 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.1719, allocations: 95.33 kB / 0.4886 GB, free: 14.48 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1719, allocations: 3.938 kB / 0.4886 GB, free: 14.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/0.2073, allocations: 9.789 MB / 0.4981 GB, free: 4.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.101/9.308, allocations: 7.922 kB / 0.4982 GB, free: 4.816 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)