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.001153/0.001157, allocations: 105.7 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.001231/0.001231, allocations: 186.4 kB / 17.38 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.366/1.366, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05218/0.05218, allocations: 8.099 MB / 299.3 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 63.91 kB / 414.5 MB, free: 21.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09261/0.09373, allocations: 51.51 MB / 466 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.004045/0.0978, allocations: 3.715 MB / 469.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.1006, allocations: 1.827 MB / 471.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.1008, allocations: 12 kB / 471.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.1013, allocations: 210.7 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006342/0.102, allocations: 341.8 kB / 472.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.1041, allocations: 1.295 MB / 473.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006789/0.1048, allocations: 0.7037 MB / 474.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.1051, allocations: 253.5 kB / 474.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.1053, allocations: 298.9 kB / 474.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.1057, allocations: 370.4 kB / 475 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.34e-05/0.1058, allocations: 56 kB / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.1063, allocations: 299.7 kB / 475.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1064, allocations: 143.4 kB / 475.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.1067, allocations: 350.2 kB / 475.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008395/0.1075, allocations: 0.8717 MB / 476.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1075, allocations: 0 / 476.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1075, allocations: 0 / 476.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1075, allocations: 0 / 476.7 MB, free: 7.32 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.006909/0.1145, allocations: 1.937 MB / 478.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1145, allocations: 8.031 kB / 478.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.1147, allocations: 80.47 kB / 478.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/0.1152, allocations: 442.2 kB / 479.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.1153, allocations: 49.38 kB / 479.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-05/0.1154, allocations: 56.38 kB / 479.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.1166, allocations: 0.7649 MB / 480 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1166, allocations: 192 / 480 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.1167, allocations: 23.94 kB / 480 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1167, allocations: 12 kB / 480.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009682/0.1177, allocations: 0.6833 MB / 480.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003431/0.1211, allocations: 2.946 MB / 483.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.1225, allocations: 1.31 MB / 485 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005867/0.1231, allocations: 470.7 kB / 485.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.581e-05/0.1232, allocations: 24.62 kB / 485.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1232, allocations: 47.22 kB / 485.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.224e-06/0.1232, allocations: 0 / 485.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01291/0.1362, allocations: 3.456 MB / 489 MB, free: 10.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.1363, allocations: 111.5 kB / 489.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/0.1368, allocations: 381.5 kB / 489.5 MB, free: 9.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.87e-05/0.1369, allocations: 53.64 kB / 489.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.137, allocations: 221.5 kB / 489.7 MB, free: 9.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.1372, allocations: 265.7 kB / 490 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.1375, allocations: 158.6 kB / 490.1 MB, free: 9.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1377, allocations: 358.7 kB / 490.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000633/0.1383, allocations: 445.9 kB / 490.9 MB, free: 8.477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006813/0.139, allocations: 0.5053 MB / 491.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.1403, allocations: 0.9939 MB / 492.4 MB, free: 6.969 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1404, allocations: 0 / 492.4 MB, free: 6.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004909/0.1453, allocations: 1.977 MB / 494.4 MB, free: 4.984 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1453, allocations: 8 kB / 494.4 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1453, allocations: 4 kB / 494.4 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005336/0.1507, allocations: 1.512 MB / 495.9 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000516/0.1512, allocations: 135.8 kB / 496.1 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.162, allocations: 5.974 MB / 0.4903 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006574/0.1627, allocations: 79.53 kB / 0.4903 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.1628, allocations: 35.92 kB / 0.4904 GB, free: 13.1 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.0002835/0.1631, allocations: 193.8 kB / 0.4906 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.1632, allocations: 59.61 kB / 0.4906 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004923/0.1681, allocations: 1.916 MB / 0.4925 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1681, allocations: 8 kB / 0.4925 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1682, allocations: 0 / 0.4925 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1682, allocations: 11.92 kB / 0.4925 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005727/0.1739, allocations: 2.76 MB / 0.4952 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1739, allocations: 0 / 0.4952 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.1742, allocations: 91.89 kB / 0.4953 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00518/0.1794, allocations: 1.285 MB / 0.4966 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.499e-05/0.1795, allocations: 16 kB / 0.4966 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/0.1902, allocations: 5.886 MB / 0.5023 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1902, allocations: 0 / 0.5023 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2269/0.4171, allocations: 1.897 MB / 0.5042 GB, free: 45.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.4173, allocations: 145.7 kB / 0.5043 GB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.4174, allocations: 17.06 kB / 0.5043 GB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.418, allocations: 46.41 kB / 0.5044 GB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/0.4183, allocations: 63.53 kB / 0.5044 GB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.307e-05/0.4183, allocations: 25.69 kB / 0.5045 GB, free: 45.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003218/0.4187, allocations: 260.3 kB / 0.5047 GB, free: 44.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4187, allocations: 0 / 0.5047 GB, free: 44.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008595/0.4196, allocations: 293.4 kB / 0.505 GB, free: 44.98 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.0002458/0.4198, allocations: 133.3 kB / 0.5051 GB, free: 44.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003811/0.4236, allocations: 1.647 MB / 0.5067 GB, free: 44.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4236, allocations: 5.453 kB / 0.5067 GB, free: 44.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002686/0.4263, allocations: 1.093 MB / 0.5078 GB, free: 44.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.4268, allocations: 64.55 kB / 0.5079 GB, free: 44.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.4286, allocations: 1.19 MB / 0.509 GB, free: 44.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.429, allocations: 0.8918 MB / 0.5099 GB, free: 43.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002782/0.4293, allocations: 78.91 kB / 0.51 GB, free: 43.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.4294, allocations: 52.8 kB / 0.51 GB, free: 43.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4295, allocations: 0 / 0.51 GB, free: 43.32 MB / 382.1 MB Notification: Performance of Templates: time 0.02358/0.453, allocations: 18.21 MB / 0.5278 GB, free: 35.67 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)