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.001473/0.001473, allocations: 105.2 kB / 16.56 MB, free: 6.719 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.002045/0.002045, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.379/1.379, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04752/0.04752, allocations: 8.093 MB / 299.4 MB, free: 6.973 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 361.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.208, allocations: 51.52 MB / 413.2 MB, free: 25.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.003396/0.2114, allocations: 3.716 MB / 416.9 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.2134, allocations: 1.818 MB / 418.7 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.2136, allocations: 8 kB / 418.8 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.214, allocations: 183.2 kB / 418.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004971/0.2145, allocations: 294.3 kB / 419.2 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.2162, allocations: 1.257 MB / 420.5 MB, free: 18.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005315/0.2167, allocations: 0.6725 MB / 421.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.217, allocations: 218.2 kB / 421.4 MB, free: 17.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.2172, allocations: 278.9 kB / 421.6 MB, free: 17.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.2175, allocations: 354.5 kB / 422 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.581e-05/0.2175, allocations: 44 kB / 422 MB, free: 17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.2179, allocations: 279.7 kB / 422.3 MB, free: 16.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.292e-05/0.218, allocations: 135.4 kB / 422.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.2182, allocations: 326.3 kB / 422.8 MB, free: 16.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.2187, allocations: 0.643 MB / 423.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2187, allocations: 0 / 423.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2187, allocations: 0 / 423.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.2187, allocations: 0 / 423.4 MB, free: 15.62 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.006442/0.2251, allocations: 1.922 MB / 425.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2252, allocations: 11.97 kB / 425.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.2253, allocations: 72.19 kB / 425.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.2258, allocations: 441.9 kB / 425.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.2258, allocations: 49.31 kB / 425.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/0.2259, allocations: 56.38 kB / 425.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009588/0.2269, allocations: 0.7727 MB / 426.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2269, allocations: 192 / 426.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.2269, allocations: 23.94 kB / 426.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.227, allocations: 12 kB / 426.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/0.2278, allocations: 0.6833 MB / 427.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.2309, allocations: 2.954 MB / 430.4 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.2321, allocations: 1.303 MB / 431.7 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/0.2326, allocations: 466.7 kB / 432.1 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.2327, allocations: 24.62 kB / 432.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.2327, allocations: 43.22 kB / 432.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 1.934e-06/0.2327, allocations: 0 / 432.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.0133/0.246, allocations: 3.452 MB / 435.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.2461, allocations: 115.4 kB / 435.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.2466, allocations: 381.5 kB / 436.1 MB, free: 2.301 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.183e-05/0.2467, allocations: 45.7 kB / 436.2 MB, free: 2.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.2468, allocations: 229.1 kB / 436.4 MB, free: 2.023 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.2469, allocations: 248.3 kB / 436.7 MB, free: 1.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.2472, allocations: 158.6 kB / 436.8 MB, free: 1.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.449e-05/0.2473, allocations: 366.7 kB / 437.2 MB, free: 1.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/0.2478, allocations: 437.9 kB / 437.6 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/0.2484, allocations: 0.5131 MB / 438.1 MB, free: 308 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.2498, allocations: 0.9861 MB / 439.1 MB, free: 15.31 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2498, allocations: 32 / 439.1 MB, free: 15.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005404/0.2552, allocations: 1.976 MB / 441.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.2553, allocations: 14.66 kB / 441.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2553, allocations: 3.938 kB / 441.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005781/0.2611, allocations: 1.519 MB / 442.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.2616, allocations: 127.8 kB / 442.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.2718, allocations: 5.46 MB / 448.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.2725, allocations: 75.34 kB / 448.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.781e-05/0.2726, allocations: 31.98 kB / 448.3 MB, free: 5.965 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.0002999/0.2729, allocations: 193.7 kB / 448.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.273, allocations: 55.34 kB / 448.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005188/0.2782, allocations: 1.92 MB / 450.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.2782, allocations: 8 kB / 450.5 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.2782, allocations: 0 / 450.5 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.2782, allocations: 3.984 kB / 450.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006193/0.2844, allocations: 2.758 MB / 453.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.2845, allocations: 3.938 kB / 453.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.2848, allocations: 91.89 kB / 453.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005552/0.2904, allocations: 1.289 MB / 454.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.627e-05/0.2905, allocations: 16 kB / 454.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.3011, allocations: 5.368 MB / 460 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3011, allocations: 3.938 kB / 460 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005519/0.3066, allocations: 1.901 MB / 461.9 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.3068, allocations: 136.4 kB / 462 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.647e-05/0.3069, allocations: 16 kB / 462 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005353/0.3074, allocations: 47.97 kB / 462.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.3076, allocations: 64.84 kB / 462.2 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/0.3077, allocations: 24 kB / 462.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002998/0.308, allocations: 263.1 kB / 462.4 MB, free: 7.551 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.308, allocations: 0 / 462.4 MB, free: 7.551 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008439/0.3089, allocations: 299.7 kB / 462.7 MB, free: 7.258 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.0002268/0.3091, allocations: 135.1 kB / 462.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003752/0.3129, allocations: 1.621 MB / 464.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.3129, allocations: 4 kB / 464.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002782/0.3157, allocations: 1.056 MB / 465.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.3162, allocations: 65.53 kB / 465.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.3185, allocations: 1.447 MB / 467.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.3189, allocations: 0.8928 MB / 467.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.3191, allocations: 59.36 kB / 468 MB, free: 1.898 MB / 334.1 MB Notification: Performance of SimCode: time 1.392e-06/0.3191, allocations: 0 / 468 MB, free: 1.898 MB / 334.1 MB Notification: Performance of Templates: time 0.01518/0.3343, allocations: 12.22 MB / 480.2 MB, free: 5.695 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)