Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009555/0.0009555, allocations: 101.2 kB / 15.73 MB, free: 436 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.001468/0.001468, allocations: 176.2 kB / 16.61 MB, free: 6.422 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.423/1.423, allocations: 223.2 MB / 240.6 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2145/0.2145, allocations: 8.083 MB / 299.8 MB, free: 2.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004628, allocations: 8 kB / 362.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1346, allocations: 52.51 MB / 415.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.002762/0.1374, allocations: 2.529 MB / 417.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1401, allocations: 1.785 MB / 419.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.1403, allocations: 8 kB / 419.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.1407, allocations: 139.1 kB / 419.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006354/0.1413, allocations: 311.1 kB / 420 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.1432, allocations: 1.055 MB / 421.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009962/0.1443, allocations: 463 kB / 421.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.1446, allocations: 169.3 kB / 421.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.1448, allocations: 227.2 kB / 421.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003936/0.1452, allocations: 302.8 kB / 422.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.612e-05/0.1453, allocations: 28 kB / 422.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005766/0.1459, allocations: 227.8 kB / 422.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.146, allocations: 103.6 kB / 422.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.1462, allocations: 133.4 kB / 422.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007626/0.1469, allocations: 0.5765 MB / 423.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1469, allocations: 0 / 423.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.147, allocations: 0 / 423.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.147, allocations: 4 kB / 423.3 MB, free: 0.7031 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.2434/0.3904, allocations: 1.783 MB / 425.1 MB, free: 40.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3905, allocations: 9.688 kB / 425.1 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.3907, allocations: 69.61 kB / 425.1 MB, free: 40.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/0.3913, allocations: 417.3 kB / 425.6 MB, free: 40.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/0.3913, allocations: 46.66 kB / 425.6 MB, free: 40.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.818e-05/0.3914, allocations: 51.91 kB / 425.6 MB, free: 40.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.3924, allocations: 0.7058 MB / 426.4 MB, free: 40.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3925, allocations: 0 / 426.4 MB, free: 40.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.3925, allocations: 23.12 kB / 426.4 MB, free: 40.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3926, allocations: 12.75 kB / 426.4 MB, free: 40.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008893/0.3934, allocations: 0.6552 MB / 427 MB, free: 40.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.3966, allocations: 2.89 MB / 429.9 MB, free: 38.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.3979, allocations: 1.081 MB / 431 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.303e-05/0.398, allocations: 21.91 kB / 431 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.398, allocations: 46.19 kB / 431.1 MB, free: 38.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.224e-06/0.398, allocations: 0 / 431.1 MB, free: 38.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.01063/0.4087, allocations: 3.16 MB / 434.2 MB, free: 38.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.4088, allocations: 119.4 kB / 434.4 MB, free: 37.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004089/0.4092, allocations: 378.6 kB / 434.7 MB, free: 37.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.4093, allocations: 44.11 kB / 434.8 MB, free: 37.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.4094, allocations: 215.9 kB / 435 MB, free: 37.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.4096, allocations: 244.4 kB / 435.2 MB, free: 37.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.4097, allocations: 18 kB / 435.2 MB, free: 37.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.4097, allocations: 361.2 kB / 435.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/0.4103, allocations: 459.3 kB / 436 MB, free: 36.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.4109, allocations: 0.5249 MB / 436.6 MB, free: 36.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006331/0.4115, allocations: 0.4933 MB / 437.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4116, allocations: 0 / 437.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004763/0.4163, allocations: 2.003 MB / 439.1 MB, free: 35.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.4164, allocations: 3.219 kB / 439.1 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4164, allocations: 3.156 kB / 439.1 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005136/0.4215, allocations: 1.533 MB / 440.6 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.4221, allocations: 126.7 kB / 440.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009898/0.432, allocations: 5.982 MB / 446.7 MB, free: 31.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007886/0.4329, allocations: 80.59 kB / 446.8 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/0.433, allocations: 33.98 kB / 446.8 MB, free: 31.47 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 (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002942/0.4333, allocations: 187.8 kB / 447 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.4334, allocations: 60.45 kB / 447.1 MB, free: 31.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004781/0.4382, allocations: 1.98 MB / 449 MB, free: 30.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.4382, allocations: 13.62 kB / 449.1 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.4383, allocations: 0 / 449.1 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4383, allocations: 3.375 kB / 449.1 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005488/0.4438, allocations: 2.832 MB / 451.9 MB, free: 29.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4438, allocations: 3.25 kB / 451.9 MB, free: 29.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.4441, allocations: 90.39 kB / 452 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004883/0.449, allocations: 1.303 MB / 453.3 MB, free: 28.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.03e-05/0.4491, allocations: 17.94 kB / 453.3 MB, free: 28.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009227/0.4584, allocations: 5.88 MB / 459.2 MB, free: 25.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4584, allocations: 0 / 459.2 MB, free: 25.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004716/0.4631, allocations: 1.946 MB / 461.1 MB, free: 24.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.4634, allocations: 138.4 kB / 461.3 MB, free: 24.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.4635, allocations: 14.75 kB / 461.3 MB, free: 24.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/0.464, allocations: 56.08 kB / 461.3 MB, free: 24.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/0.4643, allocations: 62.08 kB / 461.4 MB, free: 24.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.878e-05/0.4644, allocations: 32.42 kB / 461.4 MB, free: 24.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003241/0.4647, allocations: 257.9 kB / 461.7 MB, free: 24.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4647, allocations: 0 / 461.7 MB, free: 24.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00112/0.4658, allocations: 284.8 kB / 462 MB, free: 24.12 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 (56): * Single equations (assignments): 55 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002672/0.4661, allocations: 143.7 kB / 462.1 MB, free: 24.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004218/0.4703, allocations: 1.634 MB / 463.7 MB, free: 23.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.4704, allocations: 6.188 kB / 463.7 MB, free: 23.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00298/0.4734, allocations: 1.078 MB / 464.8 MB, free: 22.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006485/0.474, allocations: 46.98 kB / 464.9 MB, free: 22.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.4764, allocations: 1.359 MB / 466.2 MB, free: 21.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.4768, allocations: 0.8944 MB / 467.1 MB, free: 21.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00031/0.4771, allocations: 75.95 kB / 467.2 MB, free: 21.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.4773, allocations: 53.38 kB / 467.2 MB, free: 21.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.985e-06/0.4773, allocations: 1.281 kB / 467.2 MB, free: 21.21 MB / 350.1 MB Notification: Performance of Templates: time 0.03448/0.5117, allocations: 16.59 MB / 483.8 MB, free: 16.27 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1) Environment - environmentSimulation: