Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",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.001637/0.001637, allocations: 177.6 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.441/1.441, allocations: 223.2 MB / 239.7 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 91.92 kB / 290.9 MB, free: 4.605 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06412/0.06412, allocations: 8.104 MB / 350.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003222, allocations: 8 kB / 413.2 MB, free: 5.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2339, allocations: 52.52 MB / 465.7 MB, free: 69.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.341, allocations: 81.37 MB / 0.5342 GB, free: 4.145 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.3413, allocations: 63.98 kB / 0.5343 GB, free: 4.082 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03574/0.3771, allocations: 13.71 MB / 0.5477 GB, free: 6.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3771, allocations: 0 / 0.5477 GB, free: 6.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.3771, allocations: 4 kB / 0.5477 GB, free: 6.195 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002906/0.3801, allocations: 0.9633 MB / 0.5486 GB, free: 5.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3801, allocations: 8.031 kB / 0.5486 GB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.3803, allocations: 74.53 kB / 0.5487 GB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.3804, allocations: 43.53 kB / 0.5488 GB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/0.3809, allocations: 350.2 kB / 0.5491 GB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.381, allocations: 28.66 kB / 0.5491 GB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/0.3811, allocations: 32 kB / 0.5491 GB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008995/0.382, allocations: 0.5095 MB / 0.5496 GB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.382, allocations: 0 / 0.5496 GB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.382, allocations: 16 kB / 0.5497 GB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.3821, allocations: 8 kB / 0.5497 GB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007137/0.3828, allocations: 446.4 kB / 0.5501 GB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.3861, allocations: 2.244 MB / 0.5523 GB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/0.3871, allocations: 0.5815 MB / 0.5528 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/0.3873, allocations: 93.08 kB / 0.5529 GB, free: 440 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.3873, allocations: 38.56 kB / 0.553 GB, free: 392 kB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.475e-06/0.3873, allocations: 0 / 0.553 GB, free: 392 kB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.2997/0.6871, allocations: 1.929 MB / 0.5549 GB, free: 86.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.6872, allocations: 116.5 kB / 0.555 GB, free: 86.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.6875, allocations: 243.8 kB / 0.5552 GB, free: 86.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.6876, allocations: 34.89 kB / 0.5552 GB, free: 86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.6877, allocations: 186 kB / 0.5554 GB, free: 85.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.6878, allocations: 145.7 kB / 0.5556 GB, free: 85.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.6879, allocations: 5.188 kB / 0.5556 GB, free: 85.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.6879, allocations: 347.4 kB / 0.5559 GB, free: 85.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.6883, allocations: 224.9 kB / 0.5561 GB, free: 85.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.6886, allocations: 268.8 kB / 0.5564 GB, free: 85.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.689, allocations: 249.3 kB / 0.5566 GB, free: 85.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.689, allocations: 0 / 0.5566 GB, free: 85.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003366/0.6924, allocations: 1.085 MB / 0.5577 GB, free: 85.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.6924, allocations: 8.406 kB / 0.5577 GB, free: 85.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.6924, allocations: 4.297 kB / 0.5577 GB, free: 85.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003508/0.6959, allocations: 0.7258 MB / 0.5584 GB, free: 85.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.6962, allocations: 53.42 kB / 0.5584 GB, free: 85.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006999/0.7032, allocations: 3.803 MB / 0.5621 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.7038, allocations: 41.86 kB / 0.5622 GB, free: 84.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.7038, allocations: 15.59 kB / 0.5622 GB, free: 84.06 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 (31): * Single equations (assignments): 30 * 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 {7 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002663/0.7041, allocations: 157.9 kB / 0.5623 GB, free: 83.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.694e-05/0.7042, allocations: 36.78 kB / 0.5624 GB, free: 83.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/0.7076, allocations: 1.192 MB / 0.5635 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.7076, allocations: 3.688 kB / 0.5636 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.7077, allocations: 0 / 0.5636 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.7077, allocations: 0 / 0.5636 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/0.7117, allocations: 1.876 MB / 0.5654 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.7117, allocations: 0.875 kB / 0.5654 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.712, allocations: 58 kB / 0.5654 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003139/0.7151, allocations: 0.6925 MB / 0.5661 GB, free: 82.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.116e-05/0.7152, allocations: 7.531 kB / 0.5661 GB, free: 82.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006156/0.7214, allocations: 3.797 MB / 0.5698 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.7214, allocations: 3.812 kB / 0.5698 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.7246, allocations: 1.19 MB / 0.571 GB, free: 79.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.877e-05/0.7247, allocations: 119.5 kB / 0.5711 GB, free: 79.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.7247, allocations: 4 kB / 0.5711 GB, free: 79.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.7251, allocations: 29.06 kB / 0.5711 GB, free: 79.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/0.7252, allocations: 42.16 kB / 0.5712 GB, free: 79.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.7253, allocations: 25.48 kB / 0.5712 GB, free: 79.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001884/0.7255, allocations: 202.5 kB / 0.5714 GB, free: 79.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7255, allocations: 0 / 0.5714 GB, free: 79.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006444/0.7261, allocations: 181.9 kB / 0.5716 GB, free: 79.27 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 (35): * Single equations (assignments): 34 * 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 {7 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00333/0.7295, allocations: 1.753 MB / 0.5733 GB, free: 78.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.7316, allocations: 0.886 MB / 0.5741 GB, free: 77.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7316, allocations: 0 / 0.5741 GB, free: 77.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001824/0.7334, allocations: 0.6487 MB / 0.5748 GB, free: 77.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.7337, allocations: 32.88 kB / 0.5748 GB, free: 77.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/0.7391, allocations: 2.987 MB / 0.5777 GB, free: 75.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.7393, allocations: 0.8152 MB / 0.5785 GB, free: 74.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.7395, allocations: 54.95 kB / 0.5786 GB, free: 74.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.7397, allocations: 130.1 kB / 0.5787 GB, free: 74.53 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.7397, allocations: 0 / 0.5787 GB, free: 74.53 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.7663, allocations: 13.64 MB / 0.592 GB, free: 62.16 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.7666, allocations: 236.6 kB / 0.5923 GB, free: 61.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/3.096, allocations: 7.797 kB / 0.5923 GB, free: 61.92 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1)