Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 177.5 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 239.7 MB, free: 1.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000887/0.000887, allocations: 93.45 kB / 290.9 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05036/0.05036, allocations: 8.1 MB / 350.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 8.031 kB / 413.2 MB, free: 89.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1202, allocations: 52.53 MB / 465.7 MB, free: 41.97 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3682/0.4884, allocations: 79.64 MB / 0.5326 GB, free: 16.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.4887, allocations: 70.36 kB / 0.5326 GB, free: 16.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01616/0.5049, allocations: 6.729 MB / 0.5392 GB, free: 31.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5049, allocations: 4 kB / 0.5392 GB, free: 31.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.5049, allocations: 3.938 kB / 0.5392 GB, free: 31.89 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001359/0.5063, allocations: 0.5493 MB / 0.5397 GB, free: 31.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5063, allocations: 11.5 kB / 0.5398 GB, free: 31.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.5064, allocations: 48.8 kB / 0.5398 GB, free: 31.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.5065, allocations: 29.02 kB / 0.5398 GB, free: 31.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.5067, allocations: 241.9 kB / 0.5401 GB, free: 31.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.5068, allocations: 12.05 kB / 0.5401 GB, free: 31.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.5068, allocations: 15.75 kB / 0.5401 GB, free: 31.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.5071, allocations: 210.9 kB / 0.5403 GB, free: 31.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5071, allocations: 0 / 0.5403 GB, free: 31.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.5071, allocations: 7.688 kB / 0.5403 GB, free: 31.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.5072, allocations: 3.953 kB / 0.5403 GB, free: 31.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.5074, allocations: 206.1 kB / 0.5405 GB, free: 31.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.5085, allocations: 0.8841 MB / 0.5414 GB, free: 30.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/0.5092, allocations: 387.3 kB / 0.5417 GB, free: 30.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.603e-05/0.5092, allocations: 7.594 kB / 0.5417 GB, free: 30.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.5092, allocations: 32.25 kB / 0.5418 GB, free: 30.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.5092, allocations: 0 / 0.5418 GB, free: 30.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.002103/0.5113, allocations: 0.7571 MB / 0.5425 GB, free: 30.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.5114, allocations: 55.31 kB / 0.5426 GB, free: 30.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.5115, allocations: 168.3 kB / 0.5427 GB, free: 30.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.5116, allocations: 29.27 kB / 0.5427 GB, free: 30.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.5116, allocations: 119 kB / 0.5429 GB, free: 30.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.5117, allocations: 76.11 kB / 0.5429 GB, free: 29.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.5117, allocations: 3.438 kB / 0.5429 GB, free: 29.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.157e-05/0.5117, allocations: 327.5 kB / 0.5432 GB, free: 29.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.5119, allocations: 113.1 kB / 0.5434 GB, free: 29.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.512, allocations: 112.7 kB / 0.5435 GB, free: 29.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.5122, allocations: 119.5 kB / 0.5436 GB, free: 29.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5122, allocations: 0 / 0.5436 GB, free: 29.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007915/0.513, allocations: 446.4 kB / 0.544 GB, free: 29.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.513, allocations: 7.844 kB / 0.544 GB, free: 29.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.513, allocations: 0 / 0.544 GB, free: 29.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006949/0.5137, allocations: 178.8 kB / 0.5442 GB, free: 29.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.5138, allocations: 40.14 kB / 0.5442 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.5165, allocations: 2.214 MB / 0.5464 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.5167, allocations: 19.25 kB / 0.5464 GB, free: 28.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.5168, allocations: 9.609 kB / 0.5464 GB, free: 28.26 MB / 378.7 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 (17): * Single equations (assignments): 16 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.5169, allocations: 132.2 kB / 0.5465 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.517, allocations: 17.41 kB / 0.5465 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009248/0.5179, allocations: 470 kB / 0.547 GB, free: 28.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5179, allocations: 7.875 kB / 0.547 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.5179, allocations: 7.953 kB / 0.547 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5179, allocations: 2.297 kB / 0.547 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.5191, allocations: 0.8717 MB / 0.5479 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5191, allocations: 4 kB / 0.5479 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.5192, allocations: 26.61 kB / 0.5479 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006341/0.5199, allocations: 170.9 kB / 0.5481 GB, free: 27.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.5199, allocations: 18.23 kB / 0.5481 GB, free: 27.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.5221, allocations: 2.208 MB / 0.5502 GB, free: 26.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5222, allocations: 4 kB / 0.5502 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008508/0.523, allocations: 0.5143 MB / 0.5507 GB, free: 26.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.5231, allocations: 106.2 kB / 0.5508 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.5231, allocations: 4.609 kB / 0.5508 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.5233, allocations: 17.27 kB / 0.5509 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.5234, allocations: 18.48 kB / 0.5509 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.5234, allocations: 12.31 kB / 0.5509 GB, free: 26.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.5235, allocations: 148 kB / 0.551 GB, free: 26.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5235, allocations: 0 / 0.551 GB, free: 26.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000359/0.5239, allocations: 78.88 kB / 0.5511 GB, free: 26.02 MB / 378.7 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 (16): * Single equations (assignments): 15 * 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 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001201/0.5251, allocations: 1.076 MB / 0.5522 GB, free: 25.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008648/0.526, allocations: 465.1 kB / 0.5526 GB, free: 25.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.526, allocations: 0 / 0.5526 GB, free: 25.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005662/0.5266, allocations: 331.6 kB / 0.5529 GB, free: 25.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.5268, allocations: 21.36 kB / 0.5529 GB, free: 25.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.5291, allocations: 1.449 MB / 0.5544 GB, free: 24.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.5294, allocations: 0.7359 MB / 0.5551 GB, free: 23.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.08e-05/0.5295, allocations: 20.61 kB / 0.5551 GB, free: 23.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.5295, allocations: 54.67 kB / 0.5551 GB, free: 23.8 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5296, allocations: 3.875 kB / 0.5551 GB, free: 23.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.5474, allocations: 6.211 MB / 0.5612 GB, free: 23.34 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001379/0.5476, allocations: 208.2 kB / 0.5614 GB, free: 23.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.363, allocations: 7.312 kB / 0.5614 GB, free: 23.09 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)