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.0008947/0.0008948, allocations: 96.94 kB / 16.06 MB, free: 40 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.001299/0.001299, allocations: 183.5 kB / 16.96 MB, free: 6.914 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.481/1.481, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2035/0.2035, allocations: 8.078 MB / 300.2 MB, free: 2.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003627, allocations: 8 kB / 363.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.124, allocations: 52.51 MB / 416 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002842/0.1269, allocations: 1.763 MB / 417.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002958/0.1299, allocations: 1.504 MB / 419.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.1302, allocations: 4 kB / 419.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.1307, allocations: 131.5 kB / 419.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006201/0.1313, allocations: 139.2 kB / 419.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.1335, allocations: 1.02 MB / 420.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007255/0.1342, allocations: 298.6 kB / 420.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.1345, allocations: 100.1 kB / 420.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.1347, allocations: 107.5 kB / 421.1 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.135, allocations: 143.2 kB / 421.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.135, allocations: 16 kB / 421.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006069/0.1356, allocations: 231.8 kB / 421.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.1357, allocations: 51.7 kB / 421.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.1359, allocations: 165 kB / 421.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007988/0.1367, allocations: 474.5 kB / 422.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.1367, allocations: 0 / 422.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1368, allocations: 3.938 kB / 422.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.1368, allocations: 0 / 422.1 MB, free: 2.23 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.0043/0.1411, allocations: 1.084 MB / 423.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.1411, allocations: 12.03 kB / 423.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.1413, allocations: 32.56 kB / 423.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.1418, allocations: 271.9 kB / 423.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.1418, allocations: 20.94 kB / 423.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.1419, allocations: 28.38 kB / 423.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.1426, allocations: 373 kB / 423.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1426, allocations: 4.188 kB / 423.9 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/0.1426, allocations: 15.94 kB / 423.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.1427, allocations: 7.938 kB / 423.9 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2531/0.3958, allocations: 313.8 kB / 424.3 MB, free: 41.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.398, allocations: 1.458 MB / 425.7 MB, free: 40.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.399, allocations: 400.8 kB / 426.1 MB, free: 40.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.3993, allocations: 186.8 kB / 426.3 MB, free: 40.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.277e-05/0.3994, allocations: 10.55 kB / 426.3 MB, free: 40.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.3994, allocations: 34.44 kB / 426.3 MB, free: 40.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/0.3994, allocations: 3.75 kB / 426.3 MB, free: 40.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003993/0.4034, allocations: 1.244 MB / 427.6 MB, free: 40.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.4035, allocations: 111.3 kB / 427.7 MB, free: 40.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.4037, allocations: 223 kB / 427.9 MB, free: 40.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.4038, allocations: 31.95 kB / 427.9 MB, free: 40 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.4039, allocations: 164.2 kB / 428.1 MB, free: 39.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.175e-05/0.404, allocations: 94.73 kB / 428.2 MB, free: 39.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.404, allocations: 43.52 kB / 428.2 MB, free: 39.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.4041, allocations: 330.7 kB / 428.6 MB, free: 39.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.4044, allocations: 206 kB / 428.8 MB, free: 39.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.4047, allocations: 250.9 kB / 429 MB, free: 39.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005964/0.4053, allocations: 469.4 kB / 429.5 MB, free: 39.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4053, allocations: 3.938 kB / 429.5 MB, free: 39.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002092/0.4074, allocations: 0.8469 MB / 430.3 MB, free: 39.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.4075, allocations: 5.75 kB / 430.3 MB, free: 39.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4075, allocations: 0 / 430.3 MB, free: 39.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/0.4096, allocations: 453.4 kB / 430.8 MB, free: 39.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.4099, allocations: 68.44 kB / 430.8 MB, free: 39.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004596/0.4145, allocations: 3.837 MB / 434.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.4149, allocations: 39.59 kB / 434.7 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.4149, allocations: 16.55 kB / 434.7 MB, free: 36.72 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.4151, allocations: 144.6 kB / 434.9 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.4152, allocations: 28.28 kB / 434.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.4173, allocations: 0.7894 MB / 435.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4173, allocations: 3.281 kB / 435.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4173, allocations: 7.781 kB / 435.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.4173, allocations: 7.312 kB / 435.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.4177, allocations: 431 kB / 436.1 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.4177, allocations: 0 / 436.1 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.4178, allocations: 44.56 kB / 436.2 MB, free: 35.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/0.4198, allocations: 445.8 kB / 436.6 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.4199, allocations: 10.84 kB / 436.6 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004133/0.424, allocations: 3.828 MB / 440.4 MB, free: 32.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.424, allocations: 3.766 kB / 440.4 MB, free: 32.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.426, allocations: 0.8118 MB / 441.2 MB, free: 32.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.4261, allocations: 111 kB / 441.4 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.4261, allocations: 7.031 kB / 441.4 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.4264, allocations: 26 kB / 441.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.4265, allocations: 26.94 kB / 441.4 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.4265, allocations: 6.031 kB / 441.4 MB, free: 32.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.4266, allocations: 162.6 kB / 441.6 MB, free: 31.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4266, allocations: 0 / 441.6 MB, free: 31.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005353/0.4272, allocations: 130.1 kB / 441.7 MB, free: 31.94 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001944/0.4274, allocations: 115.1 kB / 441.8 MB, free: 31.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.4291, allocations: 0.8119 MB / 442.6 MB, free: 31.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4291, allocations: 2.812 kB / 442.6 MB, free: 31.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.4303, allocations: 0.5471 MB / 443.2 MB, free: 31.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.4306, allocations: 27.02 kB / 443.2 MB, free: 31.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.4316, allocations: 0.7166 MB / 443.9 MB, free: 30.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.4319, allocations: 0.7677 MB / 444.7 MB, free: 29.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.432, allocations: 35.73 kB / 444.7 MB, free: 29.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.4321, allocations: 27.12 kB / 444.7 MB, free: 29.85 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4321, allocations: 3.344 kB / 444.8 MB, free: 29.85 MB / 350.1 MB Notification: Performance of Templates: time 0.009217/0.4413, allocations: 6.26 MB / 451 MB, free: 29.46 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: