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.001047/0.001048, allocations: 84.19 kB / 15.75 MB, free: 416 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.001192/0.001192, allocations: 177.3 kB / 16.63 MB, free: 6.891 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.577/1.577, allocations: 223.3 MB / 240.7 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2178/0.2178, allocations: 8.087 MB / 299.8 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003072, allocations: 8 kB / 362.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1159, allocations: 52.52 MB / 415.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.002926/0.1189, allocations: 2.745 MB / 418.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.1217, allocations: 1.766 MB / 419.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.122, allocations: 16 kB / 419.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.1225, allocations: 131.3 kB / 420 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007462/0.1233, allocations: 274.4 kB / 420.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.1253, allocations: 1.039 MB / 421.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008407/0.1261, allocations: 0.5984 MB / 421.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.1265, allocations: 161.4 kB / 422.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.1269, allocations: 235.1 kB / 422.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006553/0.1276, allocations: 314.7 kB / 422.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.748e-05/0.1277, allocations: 28 kB / 422.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.1283, allocations: 251.8 kB / 422.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1284, allocations: 99.53 kB / 423 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.1286, allocations: 129.4 kB / 423.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.1293, allocations: 0.5883 MB / 423.7 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1293, allocations: 3.938 kB / 423.7 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1293, allocations: 4 kB / 423.7 MB, free: 352 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1293, allocations: 0 / 423.7 MB, free: 352 kB / 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.2214/0.3507, allocations: 1.777 MB / 425.5 MB, free: 41.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.3508, allocations: 11.06 kB / 425.5 MB, free: 41.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.3511, allocations: 72.3 kB / 425.6 MB, free: 41.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005521/0.3516, allocations: 414.3 kB / 426 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.3517, allocations: 42.23 kB / 426 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.253e-05/0.3518, allocations: 50.44 kB / 426.1 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.3529, allocations: 0.7137 MB / 426.8 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.3529, allocations: 0 / 426.8 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/0.353, allocations: 19.97 kB / 426.8 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.353, allocations: 9.719 kB / 426.8 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009701/0.354, allocations: 0.6623 MB / 427.5 MB, free: 40.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00337/0.3573, allocations: 2.88 MB / 430.4 MB, free: 39.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.3587, allocations: 1.09 MB / 431.5 MB, free: 39.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006234/0.3593, allocations: 489.5 kB / 431.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.3595, allocations: 23.05 kB / 432 MB, free: 39.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.3595, allocations: 41.41 kB / 432 MB, free: 39.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.928e-06/0.3595, allocations: 0 / 432 MB, free: 39.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.01023/0.3698, allocations: 3.172 MB / 435.2 MB, free: 38.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.3699, allocations: 116.6 kB / 435.3 MB, free: 38.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.3703, allocations: 376.2 kB / 435.6 MB, free: 38.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.3704, allocations: 40.98 kB / 435.7 MB, free: 38.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.3706, allocations: 212.4 kB / 435.9 MB, free: 37.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.3708, allocations: 245.7 kB / 436.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.3708, allocations: 19.34 kB / 436.2 MB, free: 37.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.3709, allocations: 365.9 kB / 436.5 MB, free: 37.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.3715, allocations: 460.6 kB / 437 MB, free: 37.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.3721, allocations: 0.5209 MB / 437.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006233/0.3728, allocations: 0.4956 MB / 438 MB, free: 36.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3728, allocations: 0 / 438 MB, free: 36.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004503/0.3773, allocations: 2.005 MB / 440 MB, free: 35.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3773, allocations: 6.188 kB / 440 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3773, allocations: 1.094 kB / 440 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004813/0.3822, allocations: 1.538 MB / 441.5 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.3827, allocations: 122.7 kB / 441.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008915/0.3916, allocations: 5.732 MB / 447.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/0.3923, allocations: 81.58 kB / 447.5 MB, free: 32.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.3924, allocations: 34.98 kB / 447.5 MB, free: 32 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.0002972/0.3927, allocations: 191.1 kB / 447.7 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3928, allocations: 60.14 kB / 447.7 MB, free: 31.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004664/0.3975, allocations: 1.98 MB / 449.7 MB, free: 31.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.3975, allocations: 13.39 kB / 449.7 MB, free: 31.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.3976, allocations: 0 / 449.7 MB, free: 31.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.3976, allocations: 6.984 kB / 449.7 MB, free: 31.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005254/0.4028, allocations: 2.826 MB / 452.6 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.4029, allocations: 2.062 kB / 452.6 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.4032, allocations: 95.16 kB / 452.7 MB, free: 29.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004697/0.4079, allocations: 1.303 MB / 454 MB, free: 29.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.4081, allocations: 17.75 kB / 454 MB, free: 29.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009131/0.4172, allocations: 5.634 MB / 459.6 MB, free: 25.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4173, allocations: 3.125 kB / 459.6 MB, free: 25.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/0.4222, allocations: 1.937 MB / 461.6 MB, free: 25.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.4227, allocations: 142 kB / 461.7 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.4228, allocations: 19.19 kB / 461.7 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006835/0.4235, allocations: 48 kB / 461.8 MB, free: 24.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003877/0.4239, allocations: 65.11 kB / 461.8 MB, free: 24.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.397e-05/0.424, allocations: 32.83 kB / 461.9 MB, free: 24.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003993/0.4244, allocations: 257.6 kB / 462.1 MB, free: 24.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4244, allocations: 0 / 462.1 MB, free: 24.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001439/0.4259, allocations: 281.2 kB / 462.4 MB, free: 24.78 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.0003272/0.4262, allocations: 140.7 kB / 462.5 MB, free: 24.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004115/0.4303, allocations: 1.645 MB / 464.2 MB, free: 23.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.4304, allocations: 1.375 kB / 464.2 MB, free: 23.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002658/0.433, allocations: 1.066 MB / 465.2 MB, free: 23.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.4337, allocations: 66.97 kB / 465.3 MB, free: 23.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.4358, allocations: 1.357 MB / 466.7 MB, free: 22.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.4362, allocations: 0.8805 MB / 467.5 MB, free: 21.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.4365, allocations: 80.61 kB / 467.6 MB, free: 21.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.4366, allocations: 47.48 kB / 467.7 MB, free: 21.86 MB / 350.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4366, allocations: 1.25 kB / 467.7 MB, free: 21.86 MB / 350.1 MB Notification: Performance of Templates: time 0.03145/0.4681, allocations: 16.66 MB / 484.3 MB, free: 15.91 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: