Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",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.001583/0.001584, allocations: 103.4 kB / 16.03 MB, free: 6.332 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.001909/0.001909, allocations: 200.3 kB / 16.96 MB, free: 6.152 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04728/0.04728, allocations: 8.097 MB / 298.9 MB, free: 6.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.91 kB / 361.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1999, allocations: 51.51 MB / 412.8 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.003317/0.2033, allocations: 3.721 MB / 416.6 MB, free: 22.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.2051, allocations: 1.81 MB / 418.4 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.2052, allocations: 8 kB / 418.4 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.2056, allocations: 179.2 kB / 418.6 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005093/0.2061, allocations: 298.3 kB / 418.9 MB, free: 19.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.2078, allocations: 1.21 MB / 420.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004898/0.2083, allocations: 0.6998 MB / 420.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.2085, allocations: 257.3 kB / 421 MB, free: 17.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.2087, allocations: 286.9 kB / 421.3 MB, free: 17.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.209, allocations: 382.4 kB / 421.7 MB, free: 16.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.208e-05/0.2091, allocations: 56 kB / 421.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.2094, allocations: 303.7 kB / 422 MB, free: 16.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/0.2095, allocations: 143.5 kB / 422.2 MB, free: 16.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.2097, allocations: 342.2 kB / 422.5 MB, free: 16.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005801/0.2103, allocations: 0.8645 MB / 423.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2103, allocations: 0 / 423.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2103, allocations: 0 / 423.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2103, allocations: 0 / 423.4 MB, free: 15.2 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00622/0.2166, allocations: 1.918 MB / 425.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2166, allocations: 11.89 kB / 425.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.406e-05/0.2167, allocations: 94.7 kB / 425.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.2168, allocations: 68.19 kB / 425.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.2173, allocations: 445.9 kB / 425.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.2173, allocations: 45.31 kB / 425.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.2175, allocations: 60.38 kB / 426 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.2187, allocations: 0.7572 MB / 426.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2187, allocations: 3.938 kB / 426.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/0.2188, allocations: 28 kB / 426.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2188, allocations: 12 kB / 426.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008082/0.2196, allocations: 0.6794 MB / 427.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/0.2225, allocations: 2.961 MB / 430.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.2237, allocations: 1.307 MB / 431.7 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/0.2242, allocations: 470.7 kB / 432.2 MB, free: 5.855 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.704e-05/0.2242, allocations: 16.64 kB / 432.2 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.2243, allocations: 47.2 kB / 432.3 MB, free: 5.781 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 1.784e-06/0.2243, allocations: 0 / 432.3 MB, free: 5.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.0119/0.2362, allocations: 3.452 MB / 435.7 MB, free: 2.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.2363, allocations: 111.5 kB / 435.8 MB, free: 2.164 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.2366, allocations: 381.5 kB / 436.2 MB, free: 1.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.513e-05/0.2367, allocations: 41.7 kB / 436.2 MB, free: 1.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.2368, allocations: 233 kB / 436.5 MB, free: 1.504 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.237, allocations: 244.3 kB / 436.7 MB, free: 1.262 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.2372, allocations: 162.6 kB / 436.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.2373, allocations: 366.7 kB / 437.2 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.2378, allocations: 453.8 kB / 437.7 MB, free: 296 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.2384, allocations: 0.5053 MB / 438.2 MB, free: 15.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.2398, allocations: 0.986 MB / 439.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2398, allocations: 0 / 439.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005135/0.2449, allocations: 1.976 MB / 441.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.245, allocations: 6.344 kB / 441.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.245, allocations: 0 / 441.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005454/0.2504, allocations: 1.532 MB / 442.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.251, allocations: 127.8 kB / 442.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.2619, allocations: 5.983 MB / 448.8 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/0.2626, allocations: 83.34 kB / 448.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/0.2627, allocations: 24 kB / 448.9 MB, free: 4.914 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.0003228/0.263, allocations: 189.8 kB / 449.1 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.2631, allocations: 59.28 kB / 449.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005302/0.2684, allocations: 1.916 MB / 451 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.2685, allocations: 11.98 kB / 451 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2685, allocations: 3.984 kB / 451 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.2685, allocations: 3.984 kB / 451.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005931/0.2744, allocations: 2.762 MB / 453.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2745, allocations: 0 / 453.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.2748, allocations: 91.91 kB / 453.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005222/0.28, allocations: 1.301 MB / 455.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.123e-05/0.2801, allocations: 23.92 kB / 455.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.2903, allocations: 5.893 MB / 461.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2903, allocations: 0 / 461.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004933/0.2953, allocations: 1.893 MB / 463 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.2955, allocations: 140.3 kB / 463.2 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.2956, allocations: 16 kB / 463.2 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.2961, allocations: 51.95 kB / 463.2 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/0.2963, allocations: 56.92 kB / 463.3 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.2964, allocations: 27.98 kB / 463.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003043/0.2967, allocations: 259.2 kB / 463.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2967, allocations: 0 / 463.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008341/0.2976, allocations: 291.8 kB / 463.8 MB, free: 5.672 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 (55): * Single equations (assignments): 54 * 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.005339/0.3029, allocations: 2.469 MB / 466.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00386/0.3068, allocations: 1.672 MB / 468 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.3068, allocations: 0 / 468 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002577/0.3094, allocations: 1.084 MB / 469.1 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/0.31, allocations: 69.48 kB / 469.1 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.3249, allocations: 7.972 MB / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.3254, allocations: 0.8963 MB / 478 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002942/0.3258, allocations: 76.36 kB / 478.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.326, allocations: 215.3 kB / 478.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3261, allocations: 0 / 478.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09717/0.4232, allocations: 22.91 MB / 0.4894 GB, free: 376 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.4234, allocations: 241.6 kB / 0.4897 GB, free: 112 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.554, allocations: 0 / 0.4897 GB, free: 112 kB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)