Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 97.17 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.00187/0.00187, allocations: 184.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.53/1.53, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2054/0.2054, allocations: 8.091 MB / 300.2 MB, free: 2.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.000386, allocations: 8 kB / 363.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1263, allocations: 52.51 MB / 416 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.004033/0.1304, allocations: 3.308 MB / 419.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003577/0.134, allocations: 1.8 MB / 421.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006269/0.1347, allocations: 12 kB / 421.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000732/0.1354, allocations: 171.2 kB / 421.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.1367, allocations: 298.3 kB / 421.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.1394, allocations: 1.238 MB / 422.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.1413, allocations: 0.6725 MB / 423.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006057/0.1419, allocations: 214.3 kB / 423.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00075/0.1427, allocations: 254.9 kB / 424 MB, free: 420 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005521/0.1432, allocations: 338.5 kB / 424.3 MB, free: 80 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.553e-05/0.1433, allocations: 35.94 kB / 424.3 MB, free: 44 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2538/0.3971, allocations: 260.9 kB / 424.6 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.3974, allocations: 111 kB / 424.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004829/0.3979, allocations: 338.3 kB / 425 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.3989, allocations: 0.8254 MB / 425.8 MB, free: 35.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3989, allocations: 0 / 425.8 MB, free: 35.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.3989, allocations: 0 / 425.8 MB, free: 35.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.399, allocations: 0 / 425.8 MB, free: 35.59 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.006535/0.4055, allocations: 1.82 MB / 427.7 MB, free: 34.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4056, allocations: 10.56 kB / 427.7 MB, free: 34.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.4057, allocations: 71.31 kB / 427.7 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005231/0.4063, allocations: 445.8 kB / 428.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.4063, allocations: 42.19 kB / 428.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-05/0.4064, allocations: 57.25 kB / 428.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.4076, allocations: 0.7664 MB / 429 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4077, allocations: 3.312 kB / 429 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.088e-05/0.4077, allocations: 24 kB / 429.1 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.4077, allocations: 13 kB / 429.1 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009471/0.4087, allocations: 0.685 MB / 429.8 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003436/0.4121, allocations: 2.973 MB / 432.7 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.4134, allocations: 1.297 MB / 434 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005751/0.414, allocations: 474.2 kB / 434.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.182e-05/0.414, allocations: 24.59 kB / 434.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.4141, allocations: 43.94 kB / 434.6 MB, free: 32.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.204e-06/0.4141, allocations: 4 kB / 434.6 MB, free: 32.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.01255/0.4267, allocations: 3.434 MB / 438 MB, free: 32.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.4268, allocations: 116.6 kB / 438.1 MB, free: 32.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.4272, allocations: 382.9 kB / 438.5 MB, free: 31.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.487e-05/0.4273, allocations: 44.83 kB / 438.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.4274, allocations: 225.5 kB / 438.7 MB, free: 31.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.4276, allocations: 244.1 kB / 439 MB, free: 31.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.4277, allocations: 80.97 kB / 439.1 MB, free: 31.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.4278, allocations: 374.3 kB / 439.4 MB, free: 31.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006493/0.4285, allocations: 442.8 kB / 439.9 MB, free: 31.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.4291, allocations: 0.5068 MB / 440.4 MB, free: 30.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.4303, allocations: 0.9892 MB / 441.4 MB, free: 30.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4303, allocations: 0 / 441.4 MB, free: 30.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004811/0.4351, allocations: 1.974 MB / 443.3 MB, free: 29.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.4352, allocations: 8.281 kB / 443.3 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4352, allocations: 0 / 443.3 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00534/0.4405, allocations: 1.534 MB / 444.9 MB, free: 29.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/0.4411, allocations: 128.5 kB / 445 MB, free: 29.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.4514, allocations: 5.447 MB / 450.4 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007986/0.4523, allocations: 76.19 kB / 450.5 MB, free: 26.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.196e-05/0.4523, allocations: 28.28 kB / 450.6 MB, free: 26.12 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002949/0.4526, allocations: 197.9 kB / 450.7 MB, free: 25.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4528, allocations: 55.84 kB / 450.8 MB, free: 25.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005151/0.4579, allocations: 1.914 MB / 452.7 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.4579, allocations: 13.25 kB / 452.7 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.458, allocations: 2.812 kB / 452.7 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.458, allocations: 3.375 kB / 452.7 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005688/0.4637, allocations: 2.766 MB / 455.5 MB, free: 23.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.4637, allocations: 0 / 455.5 MB, free: 23.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.464, allocations: 98.58 kB / 455.6 MB, free: 23.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005053/0.4691, allocations: 1.297 MB / 456.9 MB, free: 23.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-05/0.4692, allocations: 22.14 kB / 456.9 MB, free: 23.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/0.4799, allocations: 5.354 MB / 462.3 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.48, allocations: 0 / 462.3 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005964/0.4859, allocations: 1.9 MB / 464.2 MB, free: 19.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.4862, allocations: 142 kB / 464.3 MB, free: 19.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.926e-05/0.4863, allocations: 11.28 kB / 464.3 MB, free: 19.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/0.4869, allocations: 52.8 kB / 464.4 MB, free: 19.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/0.4871, allocations: 66.39 kB / 464.4 MB, free: 19.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.125e-05/0.4872, allocations: 24.59 kB / 464.5 MB, free: 19.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003082/0.4875, allocations: 260.5 kB / 464.7 MB, free: 19.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4875, allocations: 1.562 kB / 464.7 MB, free: 19.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001063/0.4886, allocations: 297.2 kB / 465 MB, free: 19.32 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002781/0.4889, allocations: 131.9 kB / 465.1 MB, free: 19.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004065/0.493, allocations: 1.609 MB / 466.7 MB, free: 18.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.493, allocations: 1.438 kB / 466.7 MB, free: 18.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002902/0.4959, allocations: 1.056 MB / 467.8 MB, free: 18.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006879/0.4966, allocations: 73.88 kB / 467.9 MB, free: 18.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.4986, allocations: 1.423 MB / 469.3 MB, free: 17.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.499, allocations: 0.8895 MB / 470.2 MB, free: 16.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003038/0.4993, allocations: 83.5 kB / 470.3 MB, free: 16.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.4994, allocations: 50.44 kB / 470.3 MB, free: 16.4 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4995, allocations: 0 / 470.3 MB, free: 16.4 MB / 350.1 MB Notification: Performance of Templates: time 0.02872/0.5282, allocations: 16.59 MB / 486.9 MB, free: 10.2 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1) Environment - environmentSimulation: