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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001539/0.001539, allocations: 104.5 kB / 16.98 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 191.4 kB / 17.91 MB, free: 5.234 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.355/1.355, allocations: 222.9 MB / 241.6 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0475/0.0475, allocations: 8.098 MB / 299.9 MB, free: 6.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 362.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2091, allocations: 51.51 MB / 413.9 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.003639/0.2128, allocations: 3.714 MB / 417.6 MB, free: 22.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.2151, allocations: 1.829 MB / 419.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.2153, allocations: 12 kB / 419.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004674/0.2158, allocations: 210.7 kB / 419.7 MB, free: 19.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006711/0.2165, allocations: 337.8 kB / 420 MB, free: 19.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.2183, allocations: 1.279 MB / 421.3 MB, free: 18.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000617/0.219, allocations: 0.692 MB / 422 MB, free: 17.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003059/0.2193, allocations: 257.3 kB / 422.2 MB, free: 17.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.2195, allocations: 295 kB / 422.5 MB, free: 17.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.2198, allocations: 374.4 kB / 422.9 MB, free: 16.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.422e-05/0.2199, allocations: 60 kB / 422.9 MB, free: 16.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.2204, allocations: 295.8 kB / 423.2 MB, free: 16.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.365e-05/0.2205, allocations: 143.4 kB / 423.4 MB, free: 16.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.2207, allocations: 338.3 kB / 423.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000681/0.2214, allocations: 0.8683 MB / 424.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2214, allocations: 4 kB / 424.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2214, allocations: 0 / 424.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.2214, allocations: 0 / 424.6 MB, free: 15.05 MB / 302.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.006686/0.2281, allocations: 1.922 MB / 426.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2282, allocations: 15.89 kB / 426.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.2283, allocations: 72.19 kB / 426.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.2288, allocations: 445.9 kB / 427 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.2289, allocations: 41.38 kB / 427.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.2289, allocations: 60.38 kB / 427.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009102/0.2299, allocations: 0.761 MB / 427.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.2299, allocations: 4.188 kB / 427.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.026e-05/0.23, allocations: 23.94 kB / 427.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.23, allocations: 12 kB / 427.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008073/0.2308, allocations: 0.6833 MB / 428.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003098/0.2339, allocations: 2.965 MB / 431.6 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.235, allocations: 1.298 MB / 432.9 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/0.2355, allocations: 478.7 kB / 433.3 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.777e-05/0.2356, allocations: 20.62 kB / 433.3 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.2356, allocations: 47.22 kB / 433.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.695e-06/0.2356, allocations: 0 / 433.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.01252/0.2481, allocations: 3.444 MB / 436.8 MB, free: 2.238 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.2482, allocations: 115.4 kB / 437 MB, free: 2.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/0.2486, allocations: 385.5 kB / 437.3 MB, free: 1.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.2488, allocations: 41.7 kB / 437.4 MB, free: 1.664 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2489, allocations: 233 kB / 437.6 MB, free: 1.434 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.249, allocations: 252.3 kB / 437.8 MB, free: 1.184 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.2493, allocations: 158.6 kB / 438 MB, free: 1.023 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.2493, allocations: 362.7 kB / 438.4 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/0.2499, allocations: 449.8 kB / 438.8 MB, free: 228 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006958/0.2506, allocations: 0.5092 MB / 439.3 MB, free: 15.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.252, allocations: 0.9861 MB / 440.3 MB, free: 14.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.252, allocations: 0 / 440.3 MB, free: 14.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005383/0.2574, allocations: 1.976 MB / 442.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.2575, allocations: 4 kB / 442.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.2575, allocations: 4 kB / 442.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005715/0.2632, allocations: 1.531 MB / 443.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.2638, allocations: 123.8 kB / 443.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.2758, allocations: 5.975 MB / 449.9 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007163/0.2765, allocations: 75.34 kB / 450 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/0.2766, allocations: 27.98 kB / 450 MB, free: 4.859 MB / 318.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.0003179/0.2769, allocations: 189.7 kB / 450.2 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.2771, allocations: 59.28 kB / 450.2 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005447/0.2825, allocations: 1.924 MB / 452.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.2826, allocations: 8 kB / 452.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2826, allocations: 0 / 452.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.2826, allocations: 3.984 kB / 452.2 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006351/0.289, allocations: 2.758 MB / 454.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.289, allocations: 3.938 kB / 454.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.2894, allocations: 95.89 kB / 455 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005305/0.2947, allocations: 1.293 MB / 456.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.2948, allocations: 16 kB / 456.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/0.3061, allocations: 5.9 MB / 462.2 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3061, allocations: 0 / 462.2 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00513/0.3113, allocations: 1.897 MB / 464.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.3115, allocations: 144.3 kB / 464.3 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.3116, allocations: 12 kB / 464.3 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005669/0.3122, allocations: 43.97 kB / 464.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/0.3125, allocations: 60.91 kB / 464.4 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.058e-05/0.3126, allocations: 24 kB / 464.4 MB, free: 6.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000367/0.313, allocations: 267.1 kB / 464.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.313, allocations: 4 kB / 464.7 MB, free: 5.898 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009282/0.3139, allocations: 291.8 kB / 465 MB, free: 5.613 MB / 334.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.0002823/0.3142, allocations: 135.1 kB / 465.1 MB, free: 5.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004205/0.3184, allocations: 1.668 MB / 466.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.3185, allocations: 7.938 kB / 466.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00288/0.3214, allocations: 1.076 MB / 467.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/0.322, allocations: 77.41 kB / 467.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.3242, allocations: 1.21 MB / 469.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.3247, allocations: 0.8925 MB / 470 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.3249, allocations: 59.36 kB / 470.1 MB, free: 416 kB / 334.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3249, allocations: 7.938 kB / 470.1 MB, free: 408 kB / 334.1 MB Notification: Performance of Templates: time 0.01675/0.3416, allocations: 12.22 MB / 482.3 MB, free: 4.191 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.makefile (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)