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.0009265/0.0009263, allocations: 101.6 kB / 16.07 MB, free: 32 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.001406/0.001406, allocations: 184.8 kB / 16.97 MB, free: 6.875 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.518/1.518, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1996/0.1996, allocations: 8.094 MB / 300.2 MB, free: 2.977 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 8 kB / 363.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1308, allocations: 52.52 MB / 416 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.003006/0.1338, allocations: 2.094 MB / 418.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.1363, allocations: 1.473 MB / 419.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1364, allocations: 8 kB / 419.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.1369, allocations: 139.4 kB / 419.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.1372, allocations: 167 kB / 419.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.139, allocations: 0.8991 MB / 420.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006486/0.1396, allocations: 414 kB / 421.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.1399, allocations: 124.7 kB / 421.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.14, allocations: 147.3 kB / 421.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.1403, allocations: 203.1 kB / 421.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.1404, allocations: 20 kB / 421.7 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.1408, allocations: 191.8 kB / 421.9 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.854e-05/0.1409, allocations: 67.62 kB / 421.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.1411, allocations: 204.7 kB / 422.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007511/0.1419, allocations: 0.5215 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1419, allocations: 0 / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1419, allocations: 0 / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1419, allocations: 0 / 422.6 MB, free: 1.738 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.003936/0.1458, allocations: 1.08 MB / 423.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.1459, allocations: 8.031 kB / 423.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.1461, allocations: 44.47 kB / 423.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/0.1467, allocations: 335.4 kB / 424.1 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.1467, allocations: 24.94 kB / 424.1 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.1468, allocations: 32.36 kB / 424.2 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2321/0.379, allocations: 410.1 kB / 424.6 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.379, allocations: 7.812 kB / 424.6 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/0.3791, allocations: 10.19 kB / 424.6 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.3791, allocations: 6.969 kB / 424.6 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007945/0.3799, allocations: 394.1 kB / 425 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/0.3825, allocations: 1.485 MB / 426.5 MB, free: 40.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.3839, allocations: 0.4892 MB / 426.9 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/0.3843, allocations: 239.8 kB / 427.2 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.162e-05/0.3844, allocations: 18.77 kB / 427.2 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.3844, allocations: 45.19 kB / 427.2 MB, free: 40.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 3.186e-06/0.3844, allocations: 0 / 427.2 MB, free: 40.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.005131/0.3896, allocations: 1.508 MB / 428.7 MB, free: 40.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.3896, allocations: 54.98 kB / 428.8 MB, free: 40.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.39, allocations: 260.9 kB / 429.1 MB, free: 40.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.39, allocations: 39.61 kB / 429.1 MB, free: 40.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3902, allocations: 173.7 kB / 429.3 MB, free: 40.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.861e-05/0.3903, allocations: 148 kB / 429.4 MB, free: 40.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.3903, allocations: 42.77 kB / 429.4 MB, free: 40.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.3904, allocations: 341 kB / 429.8 MB, free: 39.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.3907, allocations: 218.5 kB / 430 MB, free: 39.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.391, allocations: 218.6 kB / 430.2 MB, free: 39.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007462/0.3917, allocations: 488.5 kB / 430.7 MB, free: 39.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3917, allocations: 4 kB / 430.7 MB, free: 39.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002822/0.3946, allocations: 0.8873 MB / 431.6 MB, free: 39.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.3946, allocations: 10.38 kB / 431.6 MB, free: 39.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3947, allocations: 3.938 kB / 431.6 MB, free: 39.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002338/0.397, allocations: 391.1 kB / 432 MB, free: 39.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.3974, allocations: 67.94 kB / 432 MB, free: 39.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007171/0.4046, allocations: 5.475 MB / 437.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.4051, allocations: 38.38 kB / 437.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.4052, allocations: 14.05 kB / 437.6 MB, free: 35.04 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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.4055, allocations: 164.1 kB / 437.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/0.4056, allocations: 32.09 kB / 437.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.4085, allocations: 0.9204 MB / 438.7 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4085, allocations: 3.344 kB / 438.7 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4085, allocations: 0.6562 kB / 438.7 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.4085, allocations: 6.703 kB / 438.7 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000638/0.4092, allocations: 0.511 MB / 439.2 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.4092, allocations: 0 / 439.2 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.4095, allocations: 60.23 kB / 439.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/0.4118, allocations: 390.5 kB / 439.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.4119, allocations: 7.062 kB / 439.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00645/0.4183, allocations: 5.436 MB / 445.1 MB, free: 29.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4184, allocations: 0 / 445.1 MB, free: 29.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.4208, allocations: 0.9278 MB / 446 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.943e-05/0.4209, allocations: 123.9 kB / 446.1 MB, free: 28.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.421, allocations: 10.97 kB / 446.1 MB, free: 28.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.4213, allocations: 40.11 kB / 446.2 MB, free: 28.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/0.4214, allocations: 37.64 kB / 446.2 MB, free: 28.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.4215, allocations: 20.19 kB / 446.2 MB, free: 28.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.4216, allocations: 184 kB / 446.4 MB, free: 28.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4217, allocations: 4 kB / 446.4 MB, free: 28.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006046/0.4223, allocations: 166.5 kB / 446.6 MB, free: 28.49 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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001981/0.4225, allocations: 126.2 kB / 446.7 MB, free: 28.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.4241, allocations: 0.9757 MB / 447.7 MB, free: 27.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4241, allocations: 0 / 447.7 MB, free: 27.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.4252, allocations: 0.732 MB / 448.4 MB, free: 27.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.4256, allocations: 51.59 kB / 448.5 MB, free: 27.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.4267, allocations: 0.875 MB / 449.3 MB, free: 26.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.4269, allocations: 0.8036 MB / 450.1 MB, free: 26.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001698/0.4271, allocations: 46 kB / 450.2 MB, free: 26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.926e-05/0.4272, allocations: 35.53 kB / 450.2 MB, free: 25.99 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4272, allocations: 0 / 450.2 MB, free: 25.99 MB / 350.1 MB Notification: Performance of Templates: time 0.01227/0.4395, allocations: 9.321 MB / 459.5 MB, free: 25.43 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: