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-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.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.001115/0.001115, allocations: 103.8 kB / 17.07 MB, free: 5.68 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.001238/0.001238, allocations: 196 kB / 18.01 MB, free: 5.02 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.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05344/0.05344, allocations: 8.106 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 60.05 kB / 363.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2779, allocations: 51.53 MB / 414.7 MB, free: 25.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004378/0.2823, allocations: 3.332 MB / 418 MB, free: 22.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.2846, allocations: 1.858 MB / 419.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.2847, allocations: 8 kB / 419.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.2852, allocations: 202.8 kB / 420.1 MB, free: 19.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.2857, allocations: 325.9 kB / 420.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.2875, allocations: 1.283 MB / 421.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005152/0.2881, allocations: 0.6569 MB / 422.3 MB, free: 17.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.2883, allocations: 220.8 kB / 422.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.2885, allocations: 274.9 kB / 422.8 MB, free: 17.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.2889, allocations: 350.6 kB / 423.2 MB, free: 16.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.702e-05/0.289, allocations: 52 kB / 423.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004222/0.2894, allocations: 287.7 kB / 423.5 MB, free: 16.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.856e-05/0.2895, allocations: 131.5 kB / 423.6 MB, free: 16.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.2897, allocations: 318.4 kB / 423.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007142/0.2904, allocations: 0.8137 MB / 424.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.2904, allocations: 8 kB / 424.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.2904, allocations: 0 / 424.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.2905, allocations: 0 / 424.8 MB, free: 15.3 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.006421/0.2969, allocations: 1.88 MB / 426.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.297, allocations: 11.89 kB / 426.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.2971, allocations: 68.19 kB / 426.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.2976, allocations: 433.9 kB / 427.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.2976, allocations: 41.38 kB / 427.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.5e-05/0.2977, allocations: 48.38 kB / 427.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009492/0.2987, allocations: 0.722 MB / 428 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.2987, allocations: 192 / 428 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.2988, allocations: 19.94 kB / 428 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.2988, allocations: 12 kB / 428 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008147/0.2996, allocations: 0.656 MB / 428.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003126/0.3027, allocations: 2.852 MB / 431.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.3039, allocations: 1.086 MB / 432.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/0.3045, allocations: 498.6 kB / 433.1 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.3046, allocations: 20.61 kB / 433.1 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3046, allocations: 43.22 kB / 433.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.074e-06/0.3046, allocations: 7.938 kB / 433.1 MB, free: 6.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.01102/0.3157, allocations: 3.202 MB / 436.3 MB, free: 3.227 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.3158, allocations: 115.4 kB / 436.5 MB, free: 3.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.3163, allocations: 377.5 kB / 436.8 MB, free: 2.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.3165, allocations: 49.7 kB / 436.9 MB, free: 2.656 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.3166, allocations: 209.3 kB / 437.1 MB, free: 2.449 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.3169, allocations: 248.3 kB / 437.3 MB, free: 2.203 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000281/0.3171, allocations: 162.6 kB / 437.5 MB, free: 2.039 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3173, allocations: 366.7 kB / 437.8 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/0.3179, allocations: 457.9 kB / 438.3 MB, free: 1.227 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.3185, allocations: 0.5248 MB / 438.8 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.3198, allocations: 1.021 MB / 439.8 MB, free: 15.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3199, allocations: 4.031 kB / 439.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005323/0.3252, allocations: 2.011 MB / 441.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.3252, allocations: 8 kB / 441.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.3252, allocations: 0 / 441.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005658/0.3309, allocations: 1.531 MB / 443.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/0.3316, allocations: 131.9 kB / 443.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.3431, allocations: 6.28 MB / 449.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007068/0.3438, allocations: 75.36 kB / 449.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.3439, allocations: 27.98 kB / 449.9 MB, free: 5.453 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.0003088/0.3442, allocations: 193.7 kB / 450.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.3444, allocations: 55.34 kB / 450.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00531/0.3497, allocations: 1.983 MB / 452.1 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.3497, allocations: 8 kB / 452.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.3497, allocations: 4 kB / 452.1 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.3497, allocations: 7.984 kB / 452.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006014/0.3558, allocations: 2.827 MB / 455 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.3558, allocations: 0 / 455 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.3561, allocations: 95.83 kB / 455.1 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005451/0.3616, allocations: 1.293 MB / 456.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-05/0.3617, allocations: 16 kB / 456.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/0.3729, allocations: 6.209 MB / 462.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3729, allocations: 0 / 462.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005195/0.3782, allocations: 1.948 MB / 464.5 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.3784, allocations: 144.1 kB / 464.7 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-05/0.3785, allocations: 12 kB / 464.7 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/0.379, allocations: 47.95 kB / 464.7 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.3792, allocations: 60.91 kB / 464.8 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.3793, allocations: 27.94 kB / 464.8 MB, free: 6.258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.3796, allocations: 263.2 kB / 465.1 MB, free: 6 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3796, allocations: 4 kB / 465.1 MB, free: 5.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008677/0.3805, allocations: 283.8 kB / 465.3 MB, free: 5.719 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 (56): * Single equations (assignments): 55 * 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.0002613/0.3808, allocations: 143 kB / 465.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003789/0.3846, allocations: 1.688 MB / 467.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3846, allocations: 0 / 467.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002706/0.3873, allocations: 1.103 MB / 468.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.3878, allocations: 69.47 kB / 468.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.3898, allocations: 1.161 MB / 469.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.3903, allocations: 0.8855 MB / 470.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002523/0.3906, allocations: 76.34 kB / 470.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.3907, allocations: 55.42 kB / 470.5 MB, free: 476 kB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3907, allocations: 0 / 470.5 MB, free: 476 kB / 334.1 MB Notification: Performance of Templates: time 0.02651/0.4172, allocations: 18.65 MB / 489.2 MB, free: 13.87 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile (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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)