Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",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.001012/0.001012, allocations: 181 kB / 15.8 MB, free: 6.336 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.387/1.387, allocations: 223.2 MB / 239.7 MB, free: 56 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.000992/0.000992, allocations: 99.56 kB / 290.9 MB, free: 4.566 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05001/0.05001, allocations: 8.1 MB / 350.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 12 kB / 413.2 MB, free: 5.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2942, allocations: 52.51 MB / 465.7 MB, free: 69.59 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3999, allocations: 81.46 MB / 0.5343 GB, free: 4.023 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.4001, allocations: 71.97 kB / 0.5344 GB, free: 3.953 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3372/0.7374, allocations: 36.19 MB / 0.5698 GB, free: 81.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7374, allocations: 0 / 0.5698 GB, free: 81.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.723e-05/0.7375, allocations: 22.44 kB / 0.5698 GB, free: 81.48 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.007762/0.7453, allocations: 2.116 MB / 0.5718 GB, free: 80.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.7454, allocations: 7.625 kB / 0.5718 GB, free: 80.48 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005277/0.7459, allocations: 143.5 kB / 0.572 GB, free: 80.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000655/0.7466, allocations: 132.2 kB / 0.5721 GB, free: 80.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.749, allocations: 0.8332 MB / 0.5729 GB, free: 79.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.7491, allocations: 64.84 kB / 0.573 GB, free: 79.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004303/0.7496, allocations: 88.69 kB / 0.5731 GB, free: 79.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/0.7532, allocations: 1.508 MB / 0.5745 GB, free: 78.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.7533, allocations: 3.938 kB / 0.5745 GB, free: 78.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/0.7535, allocations: 43.08 kB / 0.5746 GB, free: 78.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.7535, allocations: 19.12 kB / 0.5746 GB, free: 78.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00264/0.7562, allocations: 1.469 MB / 0.576 GB, free: 78.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.7662, allocations: 6.474 MB / 0.5824 GB, free: 72.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00326/0.7695, allocations: 3.74 MB / 0.586 GB, free: 68.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002851/0.7699, allocations: 126.2 kB / 0.5861 GB, free: 68.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.7699, allocations: 56.11 kB / 0.5862 GB, free: 68.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 5.801e-06/0.7699, allocations: 0 / 0.5862 GB, free: 68.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=151): time 0.02881/0.7988, allocations: 7.613 MB / 0.5936 GB, free: 60.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.7989, allocations: 120.1 kB / 0.5937 GB, free: 60.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.8001, allocations: 0.6248 MB / 0.5943 GB, free: 60.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002994/0.8004, allocations: 53.7 kB / 0.5944 GB, free: 60.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.8007, allocations: 365.8 kB / 0.5947 GB, free: 59.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005237/0.8012, allocations: 0.5045 MB / 0.5952 GB, free: 59.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.8014, allocations: 24 kB / 0.5953 GB, free: 59.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.8015, allocations: 353.9 kB / 0.5956 GB, free: 58.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.8027, allocations: 0.8265 MB / 0.5964 GB, free: 58.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.804, allocations: 0.907 MB / 0.5973 GB, free: 57.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.8052, allocations: 0.9006 MB / 0.5982 GB, free: 56.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.8052, allocations: 0 / 0.5982 GB, free: 56.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.009168/0.8144, allocations: 3.729 MB / 0.6018 GB, free: 52.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.8145, allocations: 4 kB / 0.6018 GB, free: 52.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.8145, allocations: 0 / 0.6018 GB, free: 52.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00981/0.8243, allocations: 2.939 MB / 0.6047 GB, free: 49.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007246/0.8251, allocations: 155.8 kB / 0.6048 GB, free: 49.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/0.8473, allocations: 12.4 MB / 0.6169 GB, free: 36.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.8488, allocations: 95.11 kB / 0.617 GB, free: 36.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.8491, allocations: 43.97 kB / 0.6171 GB, free: 36.77 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 (87): * Single equations (assignments): 86 * 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 {20 48} Notification: Performance of prepare postOptimizeDAE: time 0.0009016/0.85, allocations: 290.2 kB / 0.6174 GB, free: 36.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/0.8505, allocations: 114.7 kB / 0.6175 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.8606, allocations: 4.078 MB / 0.6214 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.8607, allocations: 20 kB / 0.6215 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8607, allocations: 0 / 0.6215 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/0.8607, allocations: 7.969 kB / 0.6215 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.8738, allocations: 6.36 MB / 0.6277 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.8738, allocations: 0 / 0.6277 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.8744, allocations: 175.7 kB / 0.6279 GB, free: 25.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009508/0.884, allocations: 2.385 MB / 0.6302 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002677/0.8843, allocations: 31.98 kB / 0.6302 GB, free: 23.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02325/0.9075, allocations: 12.22 MB / 0.6421 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9076, allocations: 176 / 0.6422 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/0.9191, allocations: 3.944 MB / 0.646 GB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009532/0.9202, allocations: 215.4 kB / 0.6462 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007286/0.9209, allocations: 32 kB / 0.6462 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/0.9229, allocations: 107.9 kB / 0.6463 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009468/0.9239, allocations: 130.3 kB / 0.6465 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003513/0.9242, allocations: 55.97 kB / 0.6465 GB, free: 6.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001246/0.9255, allocations: 0.5069 MB / 0.647 GB, free: 5.879 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.9255, allocations: 0 / 0.647 GB, free: 5.879 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003689/0.9292, allocations: 0.5426 MB / 0.6475 GB, free: 5.336 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 (105): * Single equations (assignments): 104 * 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 {20 48} Notification: Performance of Backend phase and start with SimCode phase: time 0.01163/0.9409, allocations: 4.559 MB / 0.652 GB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008805/0.9498, allocations: 2.896 MB / 0.6548 GB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.72e-05/0.9499, allocations: 0.6562 kB / 0.6548 GB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006369/0.9562, allocations: 1.979 MB / 0.6568 GB, free: 11.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.958, allocations: 122.9 kB / 0.6569 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/0.9849, allocations: 9.738 MB / 0.6664 GB, free: 1.766 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.9864, allocations: 1.105 MB / 0.6675 GB, free: 0.625 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001323/0.9878, allocations: 139.7 kB / 0.6676 GB, free: 496 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.989, allocations: 415.3 kB / 0.668 GB, free: 80 kB / 394.7 MB Notification: Performance of SimCode: time 3.437e-06/0.989, allocations: 0 / 0.668 GB, free: 80 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08923/1.078, allocations: 47.64 MB / 0.7145 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/1.078, allocations: 217.1 kB / 0.7147 GB, free: 440 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.001/4.08, allocations: 0 / 0.7147 GB, free: 440 kB / 442.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)