Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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: "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004114/0.004115, allocations: 94.05 kB / 15.92 MB, free: 6.277 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.001129/0.001129, allocations: 197.4 kB / 16.84 MB, free: 6.191 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.231/1.231, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1464/0.1464, allocations: 8.091 MB / 298.7 MB, free: 2.039 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.91 kB / 361.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08328/0.08441, allocations: 51.51 MB / 412.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002859/0.0873, allocations: 2.133 MB / 414.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.08902, allocations: 1.528 MB / 416.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.08912, allocations: 4 kB / 416.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.08945, allocations: 119.6 kB / 416.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.08975, allocations: 143.2 kB / 416.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.09136, allocations: 1.043 MB / 417.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.09167, allocations: 302.4 kB / 417.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.09184, allocations: 104 kB / 418 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.619e-05/0.09194, allocations: 119.6 kB / 418.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.09209, allocations: 151.3 kB / 418.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.09213, allocations: 16 kB / 418.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.09249, allocations: 235.8 kB / 418.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.09255, allocations: 59.75 kB / 418.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.09268, allocations: 151.2 kB / 418.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.09315, allocations: 478.6 kB / 419.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.09317, allocations: 4 kB / 419.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.09317, allocations: 0 / 419.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.09318, allocations: 0 / 419.2 MB, free: 3.48 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.003844/0.09703, allocations: 1.131 MB / 420.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.09708, allocations: 12.03 kB / 420.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.193e-05/0.09718, allocations: 63.28 kB / 420.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.798e-05/0.09726, allocations: 36.5 kB / 420.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.09753, allocations: 287.7 kB / 420.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.09756, allocations: 20.94 kB / 420.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.09761, allocations: 28.38 kB / 420.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.09818, allocations: 377.1 kB / 421.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.0982, allocations: 7.938 kB / 421.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.09823, allocations: 8 kB / 421.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.09825, allocations: 12 kB / 421.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.09871, allocations: 318.1 kB / 421.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.1006, allocations: 1.455 MB / 422.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.1016, allocations: 398.6 kB / 423.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.1019, allocations: 189.3 kB / 423.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/0.102, allocations: 8 kB / 423.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.102, allocations: 42.56 kB / 423.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.102, allocations: 0 / 423.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.004087/0.1061, allocations: 1.251 MB / 424.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.1061, allocations: 110.8 kB / 424.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.1063, allocations: 224 kB / 425.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.1064, allocations: 33.7 kB / 425.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.1065, allocations: 168.3 kB / 425.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/0.1066, allocations: 94.56 kB / 425.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.1067, allocations: 82.11 kB / 425.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.573e-05/0.1068, allocations: 338.8 kB / 425.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.1071, allocations: 200.8 kB / 426 MB, free: 12.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.1074, allocations: 260.2 kB / 426.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/0.1081, allocations: 465 kB / 426.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1081, allocations: 0 / 426.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00218/0.1103, allocations: 0.8446 MB / 427.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1103, allocations: 4 kB / 427.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1103, allocations: 4 kB / 427.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00216/0.1125, allocations: 453.1 kB / 428 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.1128, allocations: 71.89 kB / 428.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004646/0.1174, allocations: 3.823 MB / 431.9 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.1178, allocations: 47.55 kB / 432 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.1178, allocations: 12 kB / 432 MB, free: 5.988 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.118, allocations: 149.8 kB / 432.1 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.118, allocations: 31.75 kB / 432.2 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.1202, allocations: 0.7863 MB / 433 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1202, allocations: 4 kB / 433 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1202, allocations: 0 / 433 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1202, allocations: 7.984 kB / 433 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.1206, allocations: 437.1 kB / 433.4 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1206, allocations: 0 / 433.4 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.1208, allocations: 39.92 kB / 433.4 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00208/0.1229, allocations: 441.2 kB / 433.9 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.1229, allocations: 11.94 kB / 433.9 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1405/0.2635, allocations: 3.83 MB / 437.7 MB, free: 56.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2635, allocations: 0.5625 kB / 437.7 MB, free: 56.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.2654, allocations: 0.8168 MB / 438.5 MB, free: 56.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.2655, allocations: 100.6 kB / 438.6 MB, free: 56.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.2655, allocations: 7.391 kB / 438.6 MB, free: 56.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.2658, allocations: 21.41 kB / 438.7 MB, free: 56.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.2659, allocations: 28.08 kB / 438.7 MB, free: 56.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.2659, allocations: 8.812 kB / 438.7 MB, free: 56.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.921e-05/0.266, allocations: 164.1 kB / 438.8 MB, free: 56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.266, allocations: 0 / 438.8 MB, free: 56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004551/0.2665, allocations: 128 kB / 439 MB, free: 56 MB / 366.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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002308/0.2688, allocations: 1.627 MB / 440.6 MB, free: 55.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.2704, allocations: 0.8088 MB / 441.4 MB, free: 55.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2704, allocations: 3.375 kB / 441.4 MB, free: 55.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.2715, allocations: 0.5536 MB / 442 MB, free: 54.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.2718, allocations: 27.64 kB / 442 MB, free: 54.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005549/0.2774, allocations: 3.955 MB / 445.9 MB, free: 53.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.2775, allocations: 0.7719 MB / 446.7 MB, free: 52.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.2777, allocations: 36.36 kB / 446.8 MB, free: 52.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.2778, allocations: 94.25 kB / 446.8 MB, free: 52.41 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.2778, allocations: 0 / 446.8 MB, free: 52.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6888/0.9666, allocations: 9.002 MB / 455.9 MB, free: 51.74 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.9668, allocations: 236.5 kB / 456.1 MB, free: 51.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.697, allocations: 0 / 456.1 MB, free: 51.48 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)