Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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: translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 104.5 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.001056/0.001056, allocations: 189.4 kB / 17.39 MB, free: 5.688 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.476/1.476, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05293/0.05293, allocations: 8.096 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1277, allocations: 51.51 MB / 466 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.00615/0.1339, allocations: 3.711 MB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00362/0.1376, allocations: 1.831 MB / 471.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.1379, allocations: 12 kB / 471.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005815/0.1384, allocations: 214.6 kB / 471.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008657/0.1394, allocations: 341.8 kB / 472.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.1419, allocations: 1.287 MB / 473.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.1429, allocations: 0.7076 MB / 474.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.1433, allocations: 253.5 kB / 474.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.1436, allocations: 302.8 kB / 474.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004354/0.1441, allocations: 366.5 kB / 475 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.531e-05/0.1442, allocations: 60 kB / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007634/0.1449, allocations: 299.7 kB / 475.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.1451, allocations: 139.5 kB / 475.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.1454, allocations: 346.2 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.1465, allocations: 0.8761 MB / 476.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1465, allocations: 0 / 476.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1465, allocations: 0 / 476.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1465, allocations: 4 kB / 476.7 MB, free: 7.41 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00721/0.1537, allocations: 1.911 MB / 478.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.1538, allocations: 12.02 kB / 478.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.154, allocations: 80.08 kB / 478.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006431/0.1547, allocations: 445.9 kB / 479.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/0.1547, allocations: 45.38 kB / 479.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.561e-05/0.1548, allocations: 52.38 kB / 479.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.1561, allocations: 0.7572 MB / 480 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.1561, allocations: 4.172 kB / 480 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.939e-05/0.1562, allocations: 27.94 kB / 480 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.1562, allocations: 12 kB / 480 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.1574, allocations: 0.6833 MB / 480.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004275/0.1617, allocations: 2.95 MB / 483.7 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.1634, allocations: 1.298 MB / 485 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007428/0.1641, allocations: 478.7 kB / 485.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.1643, allocations: 16.62 kB / 485.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.1643, allocations: 51.16 kB / 485.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.685e-06/0.1643, allocations: 0 / 485.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01293/0.1773, allocations: 3.452 MB / 488.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/0.1774, allocations: 111.5 kB / 489.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.1779, allocations: 381.5 kB / 489.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.943e-05/0.178, allocations: 49.7 kB / 489.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.1782, allocations: 225.1 kB / 489.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.1784, allocations: 244.3 kB / 489.9 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.1787, allocations: 158.6 kB / 490.1 MB, free: 9.418 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1789, allocations: 362.7 kB / 490.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006825/0.1796, allocations: 445.9 kB / 490.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007255/0.1803, allocations: 0.5091 MB / 491.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.1818, allocations: 0.99 MB / 492.4 MB, free: 7.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1818, allocations: 0 / 492.4 MB, free: 7.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005116/0.1869, allocations: 1.976 MB / 494.4 MB, free: 5.125 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.187, allocations: 4 kB / 494.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.187, allocations: 0 / 494.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005502/0.1925, allocations: 1.516 MB / 495.9 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.1931, allocations: 135.8 kB / 496 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.2046, allocations: 5.969 MB / 0.4902 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000726/0.2054, allocations: 79.34 kB / 0.4903 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.2055, allocations: 31.98 kB / 0.4903 GB, free: 13.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003824/0.2059, allocations: 193.7 kB / 0.4905 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.2061, allocations: 59.28 kB / 0.4906 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005334/0.2114, allocations: 1.912 MB / 0.4924 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.2115, allocations: 8 kB / 0.4924 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2115, allocations: 0 / 0.4924 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.2115, allocations: 3.984 kB / 0.4924 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006392/0.2179, allocations: 2.764 MB / 0.4951 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2179, allocations: 4 kB / 0.4951 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.2183, allocations: 95.83 kB / 0.4952 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005317/0.2236, allocations: 1.281 MB / 0.4965 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.614e-05/0.2237, allocations: 19.98 kB / 0.4965 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/0.2352, allocations: 5.873 MB / 0.5022 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2352, allocations: 0 / 0.5022 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2802/0.5154, allocations: 1.898 MB / 0.5041 GB, free: 45.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.5157, allocations: 140 kB / 0.5042 GB, free: 45.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.5158, allocations: 18.66 kB / 0.5042 GB, free: 45.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.5164, allocations: 44.25 kB / 0.5043 GB, free: 45.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/0.5167, allocations: 67.22 kB / 0.5043 GB, free: 45.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.5167, allocations: 25.41 kB / 0.5044 GB, free: 45.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003853/0.5171, allocations: 259.2 kB / 0.5046 GB, free: 45.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5171, allocations: 0.5312 kB / 0.5046 GB, free: 45.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001098/0.5182, allocations: 296.1 kB / 0.5049 GB, free: 45.16 MB / 382.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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002491/0.5185, allocations: 128.9 kB / 0.505 GB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00373/0.5222, allocations: 1.644 MB / 0.5066 GB, free: 44.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5223, allocations: 5.047 kB / 0.5066 GB, free: 44.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002604/0.5249, allocations: 1.086 MB / 0.5077 GB, free: 44.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.5254, allocations: 68.53 kB / 0.5078 GB, free: 44.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.5274, allocations: 1.166 MB / 0.5089 GB, free: 44.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.5278, allocations: 0.8956 MB / 0.5098 GB, free: 43.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.5281, allocations: 82.16 kB / 0.5099 GB, free: 43.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.5282, allocations: 52.08 kB / 0.5099 GB, free: 43.58 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5282, allocations: 0 / 0.5099 GB, free: 43.58 MB / 382.1 MB Notification: Performance of Templates: time 0.02808/0.5563, allocations: 18.21 MB / 0.5277 GB, free: 36.05 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)