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: "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",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.00538/0.00538, allocations: 93.11 kB / 15.91 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.001282/0.001282, allocations: 199.1 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.246/1.246, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1421/0.1421, allocations: 8.078 MB / 298.7 MB, free: 2.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.91 kB / 361.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08618/0.08738, allocations: 51.52 MB / 412.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.003773/0.09119, allocations: 3.345 MB / 416 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.09347, allocations: 1.847 MB / 417.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.09364, allocations: 8 kB / 417.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004059/0.09405, allocations: 171.2 kB / 418 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.09462, allocations: 290.4 kB / 418.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.09662, allocations: 1.249 MB / 419.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.09721, allocations: 0.6258 MB / 420.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.09747, allocations: 187.4 kB / 420.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.0977, allocations: 262.9 kB / 420.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.09803, allocations: 346.5 kB / 421 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.09811, allocations: 40 kB / 421 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.09854, allocations: 263.8 kB / 421.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.969e-05/0.09864, allocations: 119.5 kB / 421.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.09888, allocations: 306.4 kB / 421.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006893/0.09957, allocations: 0.7982 MB / 422.5 MB, free: 216 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.09959, allocations: 4 kB / 422.5 MB, free: 212 kB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.09959, allocations: 0 / 422.5 MB, free: 212 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.09961, allocations: 0 / 422.5 MB, free: 212 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.00672/0.1063, allocations: 1.882 MB / 424.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1064, allocations: 12.03 kB / 424.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.1065, allocations: 82.7 kB / 424.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.1066, allocations: 72.19 kB / 424.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.1071, allocations: 426.1 kB / 425 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.1072, allocations: 37.38 kB / 425 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/0.1073, allocations: 52.38 kB / 425 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.1083, allocations: 0.7181 MB / 425.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1083, allocations: 3.938 kB / 425.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/0.1084, allocations: 20 kB / 425.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1084, allocations: 12 kB / 425.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000931/0.1094, allocations: 0.6521 MB / 426.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003358/0.1127, allocations: 2.872 MB / 429.3 MB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.114, allocations: 1.086 MB / 430.4 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.1146, allocations: 486.7 kB / 430.9 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.362e-05/0.1147, allocations: 24.62 kB / 430.9 MB, free: 7.344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1148, allocations: 39.22 kB / 430.9 MB, free: 7.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 1.934e-06/0.1148, allocations: 0 / 430.9 MB, free: 7.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.0109/0.1257, allocations: 3.218 MB / 434.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.1257, allocations: 115.4 kB / 434.3 MB, free: 3.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.1261, allocations: 389.4 kB / 434.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/0.1262, allocations: 41.7 kB / 434.7 MB, free: 3.477 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1263, allocations: 205.4 kB / 434.9 MB, free: 3.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.1265, allocations: 248.3 kB / 435.1 MB, free: 3.023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.1268, allocations: 154.6 kB / 435.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1269, allocations: 370.8 kB / 435.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006388/0.1275, allocations: 457.9 kB / 436.1 MB, free: 2.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/0.1282, allocations: 0.5248 MB / 436.6 MB, free: 1.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.1296, allocations: 1.021 MB / 437.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1296, allocations: 0 / 437.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.1406/0.2702, allocations: 2.014 MB / 439.7 MB, free: 56.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2703, allocations: 3.312 kB / 439.7 MB, free: 56.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2703, allocations: 4.281 kB / 439.7 MB, free: 56.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005286/0.2756, allocations: 1.527 MB / 441.2 MB, free: 56.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.276, allocations: 129.6 kB / 441.3 MB, free: 56.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009056/0.2851, allocations: 5.745 MB / 447.1 MB, free: 53.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/0.2857, allocations: 76.89 kB / 447.1 MB, free: 53.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.2857, allocations: 31.58 kB / 447.2 MB, free: 53.9 MB / 366.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.0002182/0.286, allocations: 185.4 kB / 447.3 MB, free: 53.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.2861, allocations: 55.69 kB / 447.4 MB, free: 53.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004698/0.2908, allocations: 1.995 MB / 449.4 MB, free: 52.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.2908, allocations: 13.12 kB / 449.4 MB, free: 52.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.2908, allocations: 0 / 449.4 MB, free: 52.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2908, allocations: 3.375 kB / 449.4 MB, free: 52.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005421/0.2962, allocations: 2.831 MB / 452.2 MB, free: 51.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2963, allocations: 1 kB / 452.2 MB, free: 51.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.2965, allocations: 96 kB / 452.3 MB, free: 51.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005676/0.3022, allocations: 1.289 MB / 453.6 MB, free: 51.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.3023, allocations: 15.19 kB / 453.6 MB, free: 51.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008814/0.3111, allocations: 5.671 MB / 459.3 MB, free: 47.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3111, allocations: 0 / 459.3 MB, free: 47.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004594/0.3157, allocations: 1.946 MB / 461.3 MB, free: 47.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.3158, allocations: 142.5 kB / 461.4 MB, free: 47.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.129e-05/0.3159, allocations: 18.67 kB / 461.4 MB, free: 47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.3164, allocations: 42.2 kB / 461.5 MB, free: 46.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.3166, allocations: 65.34 kB / 461.5 MB, free: 46.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.3167, allocations: 26.97 kB / 461.5 MB, free: 46.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002315/0.3169, allocations: 262.4 kB / 461.8 MB, free: 46.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3169, allocations: 0 / 461.8 MB, free: 46.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007417/0.3176, allocations: 283.5 kB / 462.1 MB, free: 46.79 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 (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.004842/0.3225, allocations: 2.508 MB / 464.6 MB, free: 45.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003264/0.3258, allocations: 1.653 MB / 466.2 MB, free: 44.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3258, allocations: 0 / 466.2 MB, free: 44.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.3282, allocations: 1.076 MB / 467.3 MB, free: 44.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.3287, allocations: 74.17 kB / 467.4 MB, free: 44.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.3417, allocations: 8.047 MB / 475.4 MB, free: 40.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.342, allocations: 0.8854 MB / 476.3 MB, free: 39.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002655/0.3422, allocations: 78.28 kB / 476.4 MB, free: 39.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.3425, allocations: 197.1 kB / 476.6 MB, free: 39.27 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3425, allocations: 0 / 476.6 MB, free: 39.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9118/1.254, allocations: 22.37 MB / 499 MB, free: 32.38 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/1.254, allocations: 229.3 kB / 499.2 MB, free: 32.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/3.264, allocations: 4.062 kB / 499.2 MB, free: 32.12 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)