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/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.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009027/0.0009028, allocations: 97.06 kB / 15.73 MB, free: 440 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.0009095/0.0009096, allocations: 179 kB / 16.61 MB, free: 6.137 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.389/1.389, allocations: 223.2 MB / 240.6 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2059/0.2059, allocations: 8.081 MB / 299.7 MB, free: 2.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 12 kB / 362.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 52.51 MB / 415.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002115/0.1313, allocations: 1.554 MB / 416.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1333, allocations: 1.45 MB / 418.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.1335, allocations: 4 kB / 418.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.1338, allocations: 99.45 kB / 418.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.1341, allocations: 159.5 kB / 418.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.1357, allocations: 0.8565 MB / 419.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.1361, allocations: 223.5 kB / 419.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.1363, allocations: 89.78 kB / 419.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.1364, allocations: 107.6 kB / 419.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.1366, allocations: 131.4 kB / 419.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.1366, allocations: 16 kB / 419.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004014/0.137, allocations: 195.7 kB / 420.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.1371, allocations: 51.81 kB / 420.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.1372, allocations: 81.52 kB / 420.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.1376, allocations: 339.4 kB / 420.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1376, allocations: 0 / 420.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1376, allocations: 0 / 420.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1376, allocations: 3.938 kB / 420.6 MB, free: 3.402 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.003861/0.1415, allocations: 1.088 MB / 421.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1415, allocations: 12.03 kB / 421.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.1416, allocations: 35.58 kB / 421.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.142, allocations: 270.6 kB / 422 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.142, allocations: 20.56 kB / 422 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.1421, allocations: 24 kB / 422 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/0.1427, allocations: 380.4 kB / 422.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1427, allocations: 4 kB / 422.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.1427, allocations: 15.94 kB / 422.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.1428, allocations: 7.953 kB / 422.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.1433, allocations: 310.1 kB / 422.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2093/0.3525, allocations: 1.454 MB / 424.2 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.3537, allocations: 400.1 kB / 424.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.81e-05/0.3538, allocations: 4.438 kB / 424.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3538, allocations: 43.95 kB / 424.6 MB, free: 37.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.385e-06/0.3538, allocations: 3.031 kB / 424.6 MB, free: 37.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.004188/0.358, allocations: 1.236 MB / 425.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.3581, allocations: 110.8 kB / 426 MB, free: 36.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.3584, allocations: 227.4 kB / 426.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.3584, allocations: 32.7 kB / 426.2 MB, free: 36.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3586, allocations: 155.7 kB / 426.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.3586, allocations: 103.9 kB / 426.5 MB, free: 36.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.3587, allocations: 6.875 kB / 426.5 MB, free: 36.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3588, allocations: 333 kB / 426.8 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.3591, allocations: 202.8 kB / 427 MB, free: 36.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.3595, allocations: 252.1 kB / 427.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.3599, allocations: 226.5 kB / 427.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3599, allocations: 0 / 427.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00209/0.362, allocations: 0.8477 MB / 428.3 MB, free: 36.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.362, allocations: 3.219 kB / 428.3 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.362, allocations: 3.312 kB / 428.3 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002228/0.3643, allocations: 444.2 kB / 428.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.3646, allocations: 68.31 kB / 428.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004721/0.3693, allocations: 3.907 MB / 432.8 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/0.3697, allocations: 46.72 kB / 432.8 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.3698, allocations: 12.34 kB / 432.8 MB, free: 33.64 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002165/0.37, allocations: 149.3 kB / 433 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.3701, allocations: 24.72 kB / 433 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.3725, allocations: 0.7872 MB / 433.8 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.3725, allocations: 3.438 kB / 433.8 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.3725, allocations: 4 kB / 433.8 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3725, allocations: 0.8906 kB / 433.8 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.3731, allocations: 438.5 kB / 434.2 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.3731, allocations: 3.375 kB / 434.2 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.3733, allocations: 43.62 kB / 434.3 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/0.3752, allocations: 450.7 kB / 434.7 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.3753, allocations: 3.438 kB / 434.7 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004556/0.3798, allocations: 3.895 MB / 438.6 MB, free: 30.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3799, allocations: 0 / 438.6 MB, free: 30.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.3818, allocations: 0.8142 MB / 439.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.3819, allocations: 110.3 kB / 439.5 MB, free: 30.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.382, allocations: 6.938 kB / 439.5 MB, free: 30.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.3823, allocations: 17.09 kB / 439.5 MB, free: 30.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.3823, allocations: 30.78 kB / 439.6 MB, free: 30.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.3824, allocations: 12.61 kB / 439.6 MB, free: 30.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.3825, allocations: 153.8 kB / 439.7 MB, free: 30.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3825, allocations: 0 / 439.7 MB, free: 30.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006785/0.3832, allocations: 133.3 kB / 439.9 MB, free: 30.26 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 (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002512/0.3835, allocations: 115.9 kB / 440 MB, free: 30.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.3853, allocations: 0.8103 MB / 440.8 MB, free: 29.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3853, allocations: 3.281 kB / 440.8 MB, free: 29.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.3865, allocations: 0.5437 MB / 441.3 MB, free: 29.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.3867, allocations: 16.62 kB / 441.3 MB, free: 29.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.3878, allocations: 0.6986 MB / 442 MB, free: 29.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.3881, allocations: 0.7767 MB / 442.8 MB, free: 28.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.3882, allocations: 33.44 kB / 442.9 MB, free: 28.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.3883, allocations: 29.56 kB / 442.9 MB, free: 28.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3883, allocations: 0 / 442.9 MB, free: 28.5 MB / 350.1 MB Notification: Performance of Templates: time 0.01102/0.3993, allocations: 6.033 MB / 448.9 MB, free: 28.14 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.makefile Environment - environmentSimulation: (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 & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1) Environment - environmentSimulation: