Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",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.0007564/0.0007566, allocations: 102.6 kB / 16.07 MB, free: 32 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.0008127/0.0008125, allocations: 180.9 kB / 16.96 MB, free: 6.902 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.275/1.275, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1556/0.1556, allocations: 8.093 MB / 300.2 MB, free: 2.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003116, allocations: 16.28 kB / 363.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09146/0.0918, allocations: 52.51 MB / 416.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.002316/0.09414, allocations: 2.098 MB / 418.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.09604, allocations: 1.485 MB / 419.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.09621, allocations: 4 kB / 419.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.0966, allocations: 143.4 kB / 419.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000439/0.09705, allocations: 159 kB / 420 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.09863, allocations: 0.8991 MB / 420.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.0991, allocations: 406 kB / 421.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.09932, allocations: 132.7 kB / 421.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.09952, allocations: 151.3 kB / 421.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.09984, allocations: 207.1 kB / 421.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/0.0999, allocations: 20 kB / 421.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003418/0.1003, allocations: 179.9 kB / 422 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.656e-05/0.1003, allocations: 71.62 kB / 422 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.1005, allocations: 208.7 kB / 422.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005722/0.1011, allocations: 0.5099 MB / 422.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1011, allocations: 4 kB / 422.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1011, allocations: 0 / 422.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.1011, allocations: 0 / 422.8 MB, free: 1.625 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003522/0.1047, allocations: 1.076 MB / 423.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1047, allocations: 8.031 kB / 423.8 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.1048, allocations: 71.38 kB / 423.9 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.424e-05/0.1049, allocations: 40.47 kB / 423.9 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.1053, allocations: 331.4 kB / 424.3 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1756/0.281, allocations: 24.11 kB / 424.3 MB, free: 41.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.2812, allocations: 33.34 kB / 424.3 MB, free: 41.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/0.2819, allocations: 415.9 kB / 424.7 MB, free: 41.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2819, allocations: 0.5312 kB / 424.7 MB, free: 41.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.2819, allocations: 17.38 kB / 424.7 MB, free: 41.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2819, allocations: 5.438 kB / 424.8 MB, free: 41.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005714/0.2825, allocations: 400.1 kB / 425.1 MB, free: 41.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.2845, allocations: 1.498 MB / 426.6 MB, free: 40.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009772/0.2855, allocations: 496.2 kB / 427.1 MB, free: 40.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.2858, allocations: 250.4 kB / 427.4 MB, free: 40.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.189e-05/0.2858, allocations: 13.06 kB / 427.4 MB, free: 40.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.2859, allocations: 44.14 kB / 427.4 MB, free: 40.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.134e-06/0.2859, allocations: 0 / 427.4 MB, free: 40.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.004159/0.29, allocations: 1.503 MB / 428.9 MB, free: 40.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.2901, allocations: 55.88 kB / 429 MB, free: 40.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.2904, allocations: 269.4 kB / 429.2 MB, free: 40.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.2904, allocations: 35.45 kB / 429.3 MB, free: 40.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.2905, allocations: 179.7 kB / 429.5 MB, free: 40.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.2906, allocations: 146.2 kB / 429.6 MB, free: 39.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.2907, allocations: 46.19 kB / 429.6 MB, free: 39.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.2908, allocations: 347.4 kB / 430 MB, free: 39.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.2911, allocations: 210.5 kB / 430.2 MB, free: 39.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.2914, allocations: 218 kB / 430.4 MB, free: 39.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007408/0.2921, allocations: 491.4 kB / 430.9 MB, free: 39.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2921, allocations: 3.766 kB / 430.9 MB, free: 39.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001956/0.2941, allocations: 0.8944 MB / 431.8 MB, free: 39.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2941, allocations: 6.688 kB / 431.8 MB, free: 39.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2941, allocations: 7 kB / 431.8 MB, free: 39.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.2959, allocations: 389.3 kB / 432.2 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.2962, allocations: 65.67 kB / 432.2 MB, free: 39.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005232/0.3014, allocations: 5.479 MB / 437.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.3018, allocations: 43.2 kB / 437.8 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.3019, allocations: 16.22 kB / 437.8 MB, free: 34.86 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 (41): * 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: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.3021, allocations: 157.5 kB / 437.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.3022, allocations: 35.16 kB / 438 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.3043, allocations: 0.9117 MB / 438.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3043, allocations: 3.156 kB / 438.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3043, allocations: 0 / 438.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3043, allocations: 6.234 kB / 438.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.3048, allocations: 0.5292 MB / 439.4 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3048, allocations: 0 / 439.4 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.305, allocations: 59.19 kB / 439.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/0.3066, allocations: 388.1 kB / 439.9 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.3067, allocations: 14.45 kB / 439.9 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004765/0.3115, allocations: 5.418 MB / 445.3 MB, free: 29.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3115, allocations: 2.422 kB / 445.3 MB, free: 29.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.3135, allocations: 0.9393 MB / 446.2 MB, free: 28.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.3136, allocations: 120.7 kB / 446.3 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.3137, allocations: 8 kB / 446.4 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.314, allocations: 33.64 kB / 446.4 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3141, allocations: 37.12 kB / 446.4 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.3142, allocations: 17.5 kB / 446.4 MB, free: 28.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.3144, allocations: 189.9 kB / 446.6 MB, free: 28.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3144, allocations: 0 / 446.6 MB, free: 28.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006382/0.315, allocations: 167.7 kB / 446.8 MB, free: 28.33 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002556/0.3176, allocations: 1.814 MB / 448.6 MB, free: 27.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001951/0.3195, allocations: 0.9837 MB / 449.6 MB, free: 26.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3196, allocations: 0 / 449.6 MB, free: 26.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.3207, allocations: 0.7252 MB / 450.3 MB, free: 26.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.3211, allocations: 43.38 kB / 450.4 MB, free: 26.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006253/0.3274, allocations: 4.555 MB / 454.9 MB, free: 23.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.3276, allocations: 0.8056 MB / 455.7 MB, free: 22.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000162/0.3278, allocations: 50.31 kB / 455.8 MB, free: 22.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.3279, allocations: 121.2 kB / 455.9 MB, free: 22.54 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3279, allocations: 0 / 455.9 MB, free: 22.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.3528, allocations: 12.58 MB / 468.5 MB, free: 21.71 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001442/0.353, allocations: 232.3 kB / 468.7 MB, free: 21.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.235, allocations: 0 / 468.7 MB, free: 21.46 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)