Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",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.0008973/0.0008974, allocations: 180.9 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.5 MB / 230 MB, free: 7.578 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.001052/0.001052, allocations: 100.3 kB / 280.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04788/0.04788, allocations: 8.102 MB / 339.8 MB, free: 7.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.054e-05, allocations: 3.609 kB / 398.6 MB, free: 49.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1291, allocations: 52.52 MB / 451.1 MB, free: 5.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.2474, allocations: 77.68 MB / 0.5164 GB, free: 7.629 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.2477, allocations: 67.97 kB / 0.5164 GB, free: 7.562 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01569/0.2634, allocations: 5.415 MB / 0.5217 GB, free: 2.082 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2634, allocations: 0 / 0.5217 GB, free: 2.082 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.2635, allocations: 0 / 0.5217 GB, free: 2.082 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001089/0.2646, allocations: 482.2 kB / 0.5222 GB, free: 1.562 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.655e-05/0.2646, allocations: 11.98 kB / 0.5222 GB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.2647, allocations: 15.86 kB / 0.5222 GB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.265, allocations: 223.8 kB / 0.5224 GB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.265, allocations: 4 kB / 0.5224 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.265, allocations: 8 kB / 0.5224 GB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002356/0.2653, allocations: 144.4 kB / 0.5226 GB, free: 1.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.2656, allocations: 151.3 kB / 0.5227 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2656, allocations: 0 / 0.5227 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.2656, allocations: 0 / 0.5227 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2656, allocations: 7.953 kB / 0.5227 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.2666, allocations: 0.5794 MB / 0.5233 GB, free: 356 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.2669, allocations: 134.6 kB / 0.5234 GB, free: 212 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-05/0.267, allocations: 60.86 kB / 0.5235 GB, free: 148 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.2671, allocations: 89.09 kB / 0.5236 GB, free: 40 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.2672, allocations: 30.56 kB / 0.5236 GB, free: 0 / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.2672, allocations: 0 / 0.5236 GB, free: 0 / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.2326/0.4998, allocations: 181.9 kB / 0.5238 GB, free: 78.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.4998, allocations: 57.16 kB / 0.5238 GB, free: 78.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.5, allocations: 169.1 kB / 0.524 GB, free: 78.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.5, allocations: 25.7 kB / 0.524 GB, free: 78.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.5001, allocations: 126.2 kB / 0.5241 GB, free: 78.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.5001, allocations: 40.11 kB / 0.5242 GB, free: 78.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.5001, allocations: 2.906 kB / 0.5242 GB, free: 78.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.233e-05/0.5002, allocations: 323.3 kB / 0.5245 GB, free: 78.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.731e-05/0.5003, allocations: 67.28 kB / 0.5245 GB, free: 78.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.123e-05/0.5004, allocations: 72.39 kB / 0.5246 GB, free: 78.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.5006, allocations: 94.81 kB / 0.5247 GB, free: 78.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5006, allocations: 0 / 0.5247 GB, free: 78.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005264/0.5012, allocations: 268.2 kB / 0.525 GB, free: 78.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.5012, allocations: 5.125 kB / 0.525 GB, free: 78.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5012, allocations: 3.703 kB / 0.525 GB, free: 78.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/0.5015, allocations: 48.67 kB / 0.525 GB, free: 78.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.5017, allocations: 34.39 kB / 0.525 GB, free: 78.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.5028, allocations: 1.396 MB / 0.5264 GB, free: 77.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.503, allocations: 15.81 kB / 0.5264 GB, free: 77.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.503, allocations: 9.781 kB / 0.5264 GB, free: 77.12 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.604e-05/0.5031, allocations: 106.9 kB / 0.5265 GB, free: 77.01 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004324/0.5035, allocations: 195.1 kB / 0.5267 GB, free: 76.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.5036, allocations: 13.88 kB / 0.5267 GB, free: 76.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005711/0.5041, allocations: 216.5 kB / 0.5269 GB, free: 76.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5042, allocations: 0 / 0.5269 GB, free: 76.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5042, allocations: 2.531 kB / 0.5269 GB, free: 76.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.5042, allocations: 0 / 0.5269 GB, free: 76.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.5045, allocations: 244.3 kB / 0.5272 GB, free: 76.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.5045, allocations: 1.891 kB / 0.5272 GB, free: 76.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.5047, allocations: 22.06 kB / 0.5272 GB, free: 76.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002439/0.5049, allocations: 55.34 kB / 0.5272 GB, free: 76.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.5049, allocations: 1.031 kB / 0.5272 GB, free: 76.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.5061, allocations: 1.393 MB / 0.5286 GB, free: 75.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5061, allocations: 5.594 kB / 0.5286 GB, free: 75.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/0.5066, allocations: 297 kB / 0.5289 GB, free: 75.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.5067, allocations: 94.78 kB / 0.529 GB, free: 75.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.5067, allocations: 3.062 kB / 0.529 GB, free: 75.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.5068, allocations: 4.469 kB / 0.529 GB, free: 75.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.5069, allocations: 9.375 kB / 0.529 GB, free: 75.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.5069, allocations: 7.531 kB / 0.529 GB, free: 75.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.831e-05/0.507, allocations: 130.8 kB / 0.5291 GB, free: 75.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.507, allocations: 0 / 0.5291 GB, free: 75.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.5074, allocations: 43.08 kB / 0.5292 GB, free: 75.21 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000706/0.5081, allocations: 0.842 MB / 0.53 GB, free: 74.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005199/0.5086, allocations: 281.5 kB / 0.5303 GB, free: 74.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5086, allocations: 0 / 0.5303 GB, free: 74.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.5089, allocations: 184.1 kB / 0.5304 GB, free: 74.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.5091, allocations: 2.906 kB / 0.5304 GB, free: 74.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.5096, allocations: 211.3 kB / 0.5306 GB, free: 74.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.5098, allocations: 0.7136 MB / 0.5313 GB, free: 73.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.735e-05/0.5099, allocations: 23.09 kB / 0.5314 GB, free: 73.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.5099, allocations: 37.02 kB / 0.5314 GB, free: 73.49 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5099, allocations: 0 / 0.5314 GB, free: 73.49 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.5322, allocations: 2.796 MB / 0.5341 GB, free: 73.36 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/0.5324, allocations: 131.5 kB / 0.5343 GB, free: 73.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.206, allocations: 1.875 kB / 0.5343 GB, free: 73.16 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)