Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 88.17 kB / 15.75 MB, free: 408 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 178.6 kB / 16.63 MB, free: 6.895 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.54/1.54, allocations: 223.3 MB / 240.7 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2085/0.2085, allocations: 8.095 MB / 299.9 MB, free: 2.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003338, allocations: 8 kB / 362.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1263, allocations: 52.51 MB / 415.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.004178/0.1306, allocations: 1.971 MB / 417.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003468/0.1341, allocations: 1.431 MB / 418.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.1343, allocations: 4 kB / 418.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005067/0.1349, allocations: 111.4 kB / 418.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005777/0.1355, allocations: 159 kB / 419 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.138, allocations: 0.763 MB / 419.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007481/0.1387, allocations: 386 kB / 420.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.1391, allocations: 118.7 kB / 420.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.1394, allocations: 155.3 kB / 420.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004186/0.1398, allocations: 199.1 kB / 420.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.223e-05/0.1399, allocations: 20 kB / 420.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005838/0.1405, allocations: 171.9 kB / 420.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.016e-05/0.1406, allocations: 67.69 kB / 420.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.1407, allocations: 93.45 kB / 421 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006925/0.1414, allocations: 391.2 kB / 421.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1414, allocations: 0 / 421.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1415, allocations: 0 / 421.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.1415, allocations: 4 kB / 421.4 MB, free: 2.684 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.006131/0.1476, allocations: 1.076 MB / 422.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.1477, allocations: 12.03 kB / 422.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.1479, allocations: 43.48 kB / 422.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007026/0.1486, allocations: 326.3 kB / 422.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.1487, allocations: 28.5 kB / 422.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.1488, allocations: 32 kB / 422.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.1499, allocations: 408.8 kB / 423.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.15, allocations: 0 / 423.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.1501, allocations: 12 kB / 423.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.1501, allocations: 8 kB / 423.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.1512, allocations: 394 kB / 423.7 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2229/0.3741, allocations: 1.48 MB / 425.2 MB, free: 40.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.3752, allocations: 494.3 kB / 425.7 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.3755, allocations: 245.7 kB / 425.9 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.964e-05/0.3756, allocations: 8.672 kB / 425.9 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3756, allocations: 44.58 kB / 425.9 MB, free: 40.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 3.406e-06/0.3756, allocations: 0 / 425.9 MB, free: 40.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.003606/0.3792, allocations: 1.504 MB / 427.4 MB, free: 40.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.3793, allocations: 57.91 kB / 427.5 MB, free: 40.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.3796, allocations: 261.1 kB / 427.8 MB, free: 40.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.3796, allocations: 39.11 kB / 427.8 MB, free: 40.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.532e-05/0.3797, allocations: 173.5 kB / 428 MB, free: 39.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.599e-05/0.3798, allocations: 146.9 kB / 428.1 MB, free: 39.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.3798, allocations: 9.969 kB / 428.1 MB, free: 39.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.751e-05/0.3799, allocations: 345.5 kB / 428.5 MB, free: 39.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.3802, allocations: 208.3 kB / 428.7 MB, free: 39.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.3805, allocations: 217.1 kB / 428.9 MB, free: 39.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.3808, allocations: 234.9 kB / 429.1 MB, free: 39.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3808, allocations: 0 / 429.1 MB, free: 39.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001736/0.3826, allocations: 0.8879 MB / 430 MB, free: 39.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3826, allocations: 10.39 kB / 430 MB, free: 39.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3826, allocations: 0 / 430 MB, free: 39.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/0.3841, allocations: 393.5 kB / 430.4 MB, free: 39.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.3844, allocations: 63.05 kB / 430.4 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005435/0.3898, allocations: 5.471 MB / 435.9 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.3903, allocations: 41.38 kB / 436 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.3903, allocations: 20.47 kB / 436 MB, free: 35.27 MB / 350.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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.3906, allocations: 156.6 kB / 436.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.124e-05/0.3907, allocations: 37.95 kB / 436.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.3927, allocations: 0.9111 MB / 437.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.3927, allocations: 5.906 kB / 437.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3927, allocations: 3.953 kB / 437.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.984e-06/0.3927, allocations: 4.312 kB / 437.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005557/0.3933, allocations: 0.5157 MB / 437.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3933, allocations: 0 / 437.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.3935, allocations: 64.56 kB / 437.7 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.3949, allocations: 378.4 kB / 438 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.3949, allocations: 18.59 kB / 438.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005013/0.4, allocations: 5.419 MB / 443.5 MB, free: 29.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4, allocations: 0 / 443.5 MB, free: 29.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.4021, allocations: 0.9309 MB / 444.4 MB, free: 29.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/0.4022, allocations: 113.9 kB / 444.5 MB, free: 28.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.4022, allocations: 17.28 kB / 444.5 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.4025, allocations: 30.77 kB / 444.6 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.4027, allocations: 48.47 kB / 444.6 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.4027, allocations: 13.12 kB / 444.6 MB, free: 28.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.4029, allocations: 188 kB / 444.8 MB, free: 28.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4029, allocations: 0 / 444.8 MB, free: 28.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007761/0.4037, allocations: 159.8 kB / 445 MB, free: 28.73 MB / 350.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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002653/0.404, allocations: 133.4 kB / 445.1 MB, free: 28.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.4056, allocations: 0.9743 MB / 446.1 MB, free: 28.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4057, allocations: 3.25 kB / 446.1 MB, free: 28.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.4067, allocations: 0.7298 MB / 446.8 MB, free: 27.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.4071, allocations: 52.22 kB / 446.9 MB, free: 27.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.4084, allocations: 0.8384 MB / 447.7 MB, free: 26.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.4087, allocations: 0.8009 MB / 448.5 MB, free: 26.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.4089, allocations: 47.06 kB / 448.5 MB, free: 26.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.004e-05/0.409, allocations: 33.28 kB / 448.6 MB, free: 26.25 MB / 350.1 MB Notification: Performance of SimCode: time 1.623e-06/0.409, allocations: 3.656 kB / 448.6 MB, free: 26.25 MB / 350.1 MB Notification: Performance of Templates: time 0.012/0.421, allocations: 9.036 MB / 457.6 MB, free: 25.71 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1) Environment - environmentSimulation: