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.004644/0.004644, allocations: 93.11 kB / 15.91 MB, free: 6.273 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.001008/0.001008, allocations: 200.2 kB / 16.84 MB, free: 6.188 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.201/1.201, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.146/0.146, allocations: 8.073 MB / 298.7 MB, free: 2.066 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 55.92 kB / 361 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09301, allocations: 51.52 MB / 412.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.004223/0.09727, allocations: 3.716 MB / 416.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.09962, allocations: 1.812 MB / 418.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.09979, allocations: 12 kB / 418.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.1002, allocations: 175.2 kB / 418.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005344/0.1008, allocations: 302.3 kB / 418.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.1027, allocations: 1.265 MB / 419.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006031/0.1033, allocations: 0.6725 MB / 420.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.1036, allocations: 218.3 kB / 420.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.1038, allocations: 274.9 kB / 421 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.1042, allocations: 370.4 kB / 421.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.171e-05/0.1043, allocations: 44 kB / 421.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.1047, allocations: 279.8 kB / 421.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.1048, allocations: 127.4 kB / 421.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.1051, allocations: 326.3 kB / 422.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007478/0.1058, allocations: 0.8528 MB / 423 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1058, allocations: 3.938 kB / 423 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1058, allocations: 0 / 423 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1059, allocations: 4 kB / 423 MB, free: 15.71 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.006843/0.1127, allocations: 1.915 MB / 424.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1128, allocations: 8.031 kB / 424.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.1129, allocations: 72.19 kB / 425 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.1134, allocations: 441.8 kB / 425.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.1135, allocations: 45.38 kB / 425.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-05/0.1136, allocations: 52.38 kB / 425.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.1147, allocations: 0.7728 MB / 426.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1147, allocations: 192 / 426.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/0.1148, allocations: 23.94 kB / 426.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1148, allocations: 12 kB / 426.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009918/0.1158, allocations: 0.6872 MB / 427 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003615/0.1194, allocations: 2.954 MB / 429.9 MB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.1209, allocations: 1.311 MB / 431.2 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006042/0.1215, allocations: 474.7 kB / 431.7 MB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.637e-05/0.1216, allocations: 12.64 kB / 431.7 MB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1216, allocations: 43.22 kB / 431.8 MB, free: 6.402 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.154e-06/0.1216, allocations: 0 / 431.8 MB, free: 6.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01304/0.1347, allocations: 3.456 MB / 435.2 MB, free: 2.914 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.1348, allocations: 111.5 kB / 435.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.1352, allocations: 381.4 kB / 435.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.318e-05/0.1353, allocations: 49.7 kB / 435.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1355, allocations: 229.1 kB / 436 MB, free: 2.117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.1357, allocations: 244.3 kB / 436.2 MB, free: 1.875 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.1359, allocations: 158.6 kB / 436.4 MB, free: 1.715 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1361, allocations: 366.7 kB / 436.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000648/0.1367, allocations: 445.8 kB / 437.2 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/0.1374, allocations: 0.5053 MB / 437.7 MB, free: 408 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1487/0.2861, allocations: 0.9852 MB / 438.6 MB, free: 56.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.2861, allocations: 0 / 438.6 MB, free: 56.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00479/0.2909, allocations: 1.973 MB / 440.6 MB, free: 56.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.291, allocations: 6.344 kB / 440.6 MB, free: 56.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.291, allocations: 3.969 kB / 440.6 MB, free: 56.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005157/0.2962, allocations: 1.521 MB / 442.1 MB, free: 56.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.2966, allocations: 133.9 kB / 442.3 MB, free: 56.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008924/0.3055, allocations: 5.45 MB / 447.7 MB, free: 53.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.3061, allocations: 82.41 kB / 447.8 MB, free: 53.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.3062, allocations: 26.47 kB / 447.8 MB, free: 53.14 MB / 366.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.0002369/0.3064, allocations: 195.6 kB / 448 MB, free: 52.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.3066, allocations: 55.84 kB / 448.1 MB, free: 52.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/0.3111, allocations: 1.92 MB / 450 MB, free: 52.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.3112, allocations: 9.938 kB / 450 MB, free: 52.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.3112, allocations: 1.641 kB / 450 MB, free: 52.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3112, allocations: 6.609 kB / 450 MB, free: 52.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005076/0.3163, allocations: 2.759 MB / 452.8 MB, free: 50.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3163, allocations: 0 / 452.8 MB, free: 50.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.3166, allocations: 93.66 kB / 452.9 MB, free: 50.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004866/0.3215, allocations: 1.288 MB / 454.2 MB, free: 50.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.3215, allocations: 16.81 kB / 454.2 MB, free: 50.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008281/0.3298, allocations: 5.373 MB / 459.5 MB, free: 47.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3298, allocations: 7.219 kB / 459.6 MB, free: 47.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004396/0.3342, allocations: 1.888 MB / 461.4 MB, free: 46.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.3344, allocations: 147 kB / 461.6 MB, free: 46.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.3344, allocations: 17.05 kB / 461.6 MB, free: 46.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.3349, allocations: 47.17 kB / 461.6 MB, free: 46.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.3351, allocations: 66.16 kB / 461.7 MB, free: 46.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/0.3352, allocations: 27.91 kB / 461.7 MB, free: 46.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002337/0.3354, allocations: 257 kB / 462 MB, free: 46.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3354, allocations: 0 / 462 MB, free: 46.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007302/0.3362, allocations: 296.9 kB / 462.3 MB, free: 46.35 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 (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.0001942/0.3364, allocations: 128.9 kB / 462.4 MB, free: 46.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003049/0.3394, allocations: 1.603 MB / 464 MB, free: 45.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3394, allocations: 7.344 kB / 464 MB, free: 45.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002328/0.3418, allocations: 1.062 MB / 465.1 MB, free: 45.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.3422, allocations: 71.66 kB / 465.1 MB, free: 45.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.3438, allocations: 1.421 MB / 466.6 MB, free: 44.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.344, allocations: 0.8913 MB / 467.5 MB, free: 43.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.3442, allocations: 78.36 kB / 467.5 MB, free: 43.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.3444, allocations: 59.97 kB / 467.6 MB, free: 43.46 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3444, allocations: 0 / 467.6 MB, free: 43.46 MB / 366.1 MB Notification: Performance of Templates: time 0.02131/0.3657, allocations: 16.96 MB / 484.6 MB, free: 41.57 MB / 366.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)