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/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/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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008719/0.000872, allocations: 95.81 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000864/0.0008641, allocations: 183.1 kB / 16.62 MB, free: 6.422 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.242/1.242, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1475/0.1475, allocations: 8.094 MB / 299.7 MB, free: 2.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003001, allocations: 12 kB / 362.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08876/0.08908, allocations: 52.51 MB / 415.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.002257/0.09138, allocations: 2.024 MB / 417.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.09349, allocations: 1.563 MB / 418.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.09363, allocations: 4 kB / 418.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.09395, allocations: 119.3 kB / 419.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.09438, allocations: 215.4 kB / 419.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.09608, allocations: 0.9888 MB / 420.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.09651, allocations: 323.3 kB / 420.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.09674, allocations: 132 kB / 420.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.0969, allocations: 151.5 kB / 420.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.09718, allocations: 203.2 kB / 421.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.09723, allocations: 23.94 kB / 421.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.09763, allocations: 219.7 kB / 421.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.0977, allocations: 71.73 kB / 421.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.0978, allocations: 105.5 kB / 421.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.09826, allocations: 446.8 kB / 421.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.09827, allocations: 0 / 421.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.09829, allocations: 4 kB / 421.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.0983, allocations: 3.938 kB / 421.9 MB, free: 2.066 MB / 350.1 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.004713/0.103, allocations: 1.335 MB / 423.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1031, allocations: 8.031 kB / 423.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.1032, allocations: 74.48 kB / 423.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.476e-05/0.1033, allocations: 47.44 kB / 423.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.1037, allocations: 330.3 kB / 423.7 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.1037, allocations: 28.66 kB / 423.7 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/0.1038, allocations: 40 kB / 423.8 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1503/0.2541, allocations: 0.5054 MB / 424.3 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2542, allocations: 1.25 kB / 424.3 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.2542, allocations: 15.81 kB / 424.3 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2542, allocations: 8.109 kB / 424.3 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.2548, allocations: 445.4 kB / 424.7 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.2571, allocations: 2.126 MB / 426.9 MB, free: 39.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.2578, allocations: 0.5793 MB / 427.4 MB, free: 39.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.28e-05/0.2579, allocations: 14.36 kB / 427.4 MB, free: 39.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2579, allocations: 39.89 kB / 427.5 MB, free: 39.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/0.2579, allocations: 1.547 kB / 427.5 MB, free: 39.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006471/0.2644, allocations: 1.917 MB / 429.4 MB, free: 39.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.2645, allocations: 116.4 kB / 429.5 MB, free: 39.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.2647, allocations: 270.6 kB / 429.8 MB, free: 39.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.2647, allocations: 35.64 kB / 429.8 MB, free: 39.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.2648, allocations: 187.1 kB / 430 MB, free: 39.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.731e-05/0.2649, allocations: 147.4 kB / 430.1 MB, free: 38.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.2649, allocations: 9.438 kB / 430.2 MB, free: 38.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.265, allocations: 347.9 kB / 430.5 MB, free: 38.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.2654, allocations: 281.3 kB / 430.8 MB, free: 38.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.2658, allocations: 328.6 kB / 431.1 MB, free: 38.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.2662, allocations: 308.1 kB / 431.4 MB, free: 38.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2662, allocations: 3.625 kB / 431.4 MB, free: 38.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003025/0.2693, allocations: 1.233 MB / 432.6 MB, free: 38.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2693, allocations: 6.547 kB / 432.6 MB, free: 38.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2693, allocations: 0 / 432.6 MB, free: 38.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003291/0.2726, allocations: 0.7833 MB / 433.4 MB, free: 38.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.2729, allocations: 96.69 kB / 433.5 MB, free: 38.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0057/0.2787, allocations: 3.802 MB / 437.3 MB, free: 35.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.2791, allocations: 53.91 kB / 437.4 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.2791, allocations: 20.59 kB / 437.4 MB, free: 35.93 MB / 350.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 (51): * Single equations (assignments): 50 * 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 {8 8} Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.2793, allocations: 157.6 kB / 437.5 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.2794, allocations: 43.34 kB / 437.6 MB, free: 35.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.2823, allocations: 1.172 MB / 438.8 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2823, allocations: 6.969 kB / 438.8 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.2823, allocations: 0.5625 kB / 438.8 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2823, allocations: 6.391 kB / 438.8 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/0.2856, allocations: 1.755 MB / 440.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2856, allocations: 0 / 440.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.2858, allocations: 61.64 kB / 440.6 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003126/0.2889, allocations: 0.7415 MB / 441.3 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.289, allocations: 18.14 kB / 441.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005272/0.2942, allocations: 3.755 MB / 445.1 MB, free: 31.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2943, allocations: 3.125 kB / 445.1 MB, free: 31.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.297, allocations: 1.191 MB / 446.3 MB, free: 31.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.2971, allocations: 121.7 kB / 446.4 MB, free: 31.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.2972, allocations: 7 kB / 446.4 MB, free: 31.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.2975, allocations: 30.47 kB / 446.4 MB, free: 31.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/0.2976, allocations: 41.08 kB / 446.5 MB, free: 31.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.2977, allocations: 13.34 kB / 446.5 MB, free: 31.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.2978, allocations: 187.2 kB / 446.7 MB, free: 30.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2978, allocations: 6.5 kB / 446.7 MB, free: 30.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005597/0.2984, allocations: 189 kB / 446.9 MB, free: 30.95 MB / 350.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 (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 {8 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002967/0.3014, allocations: 1.737 MB / 448.6 MB, free: 29.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.3033, allocations: 0.9987 MB / 449.6 MB, free: 29.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3034, allocations: 0 / 449.6 MB, free: 29.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.3048, allocations: 0.6505 MB / 450.3 MB, free: 29.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.3051, allocations: 29.89 kB / 450.3 MB, free: 29.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.3063, allocations: 1.205 MB / 451.5 MB, free: 28.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.3065, allocations: 0.8183 MB / 452.3 MB, free: 27.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.3067, allocations: 51.7 kB / 452.4 MB, free: 27.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.3068, allocations: 130.6 kB / 452.5 MB, free: 27.47 MB / 350.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3068, allocations: 0 / 452.5 MB, free: 27.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.3315, allocations: 13.45 MB / 465.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/0.3317, allocations: 243.7 kB / 466.2 MB, free: 26.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.11, allocations: 1.188 kB / 466.2 MB, free: 26.32 MB / 350.1 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) Environment - environmentSimulation: