Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",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.001472/0.001472, allocations: 177.6 kB / 8.045 MB, free: 1.027 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.366/1.366, allocations: 221.5 MB / 230 MB, free: 7.555 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.0008404/0.0008404, allocations: 98.14 kB / 280.9 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05209/0.05209, allocations: 8.102 MB / 339.8 MB, free: 6.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.44e-05, allocations: 4.062 kB / 398.6 MB, free: 49.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 52.54 MB / 451.1 MB, free: 5.273 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.2333, allocations: 77.73 MB / 0.5164 GB, free: 7.441 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.2336, allocations: 59.97 kB / 0.5165 GB, free: 7.383 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2597/0.4933, allocations: 9.223 MB / 0.5255 GB, free: 77.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4934, allocations: 0.9844 kB / 0.5255 GB, free: 77.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.4934, allocations: 5.688 kB / 0.5255 GB, free: 77.49 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001576/0.495, allocations: 0.6734 MB / 0.5262 GB, free: 77.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.495, allocations: 16.52 kB / 0.5262 GB, free: 77.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.4951, allocations: 30.28 kB / 0.5262 GB, free: 77.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.4954, allocations: 294.2 kB / 0.5265 GB, free: 76.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.4955, allocations: 7.281 kB / 0.5265 GB, free: 76.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.4955, allocations: 11.88 kB / 0.5265 GB, free: 76.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004568/0.496, allocations: 320.2 kB / 0.5268 GB, free: 76.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.4964, allocations: 305.7 kB / 0.5271 GB, free: 76.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4965, allocations: 1.5 kB / 0.5271 GB, free: 76.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.4965, allocations: 3.953 kB / 0.5271 GB, free: 76.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.4965, allocations: 7.938 kB / 0.5271 GB, free: 76.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.4983, allocations: 1.069 MB / 0.5281 GB, free: 76.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.4988, allocations: 353.6 kB / 0.5285 GB, free: 76.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.499, allocations: 200.3 kB / 0.5287 GB, free: 76.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.355e-05/0.4991, allocations: 9.922 kB / 0.5287 GB, free: 76.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.4991, allocations: 36.5 kB / 0.5287 GB, free: 76.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.4991, allocations: 5.5 kB / 0.5287 GB, free: 76.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001272/0.5004, allocations: 491.1 kB / 0.5292 GB, free: 76.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.5004, allocations: 54.36 kB / 0.5292 GB, free: 76.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.5008, allocations: 235.1 kB / 0.5295 GB, free: 76.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.5008, allocations: 30.77 kB / 0.5295 GB, free: 76.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.5009, allocations: 169.1 kB / 0.5297 GB, free: 76.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.167e-05/0.501, allocations: 94.78 kB / 0.5298 GB, free: 76.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.5011, allocations: 0 / 0.5298 GB, free: 76.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.5012, allocations: 340.1 kB / 0.5301 GB, free: 75.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.5015, allocations: 181.5 kB / 0.5302 GB, free: 75.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.5018, allocations: 186 kB / 0.5304 GB, free: 75.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/0.5024, allocations: 222.6 kB / 0.5306 GB, free: 75.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5024, allocations: 0 / 0.5306 GB, free: 75.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001403/0.5038, allocations: 0.6058 MB / 0.5312 GB, free: 75.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.5038, allocations: 5.062 kB / 0.5312 GB, free: 75.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5039, allocations: 3.156 kB / 0.5312 GB, free: 75.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007244/0.5046, allocations: 157.7 kB / 0.5314 GB, free: 75.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.5049, allocations: 63.97 kB / 0.5314 GB, free: 75.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/0.508, allocations: 4.177 MB / 0.5355 GB, free: 71.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.5083, allocations: 26 kB / 0.5356 GB, free: 71.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.5083, allocations: 16.48 kB / 0.5356 GB, free: 71.94 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 (38): * Single equations (assignments): 35 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.5084, allocations: 108.5 kB / 0.5357 GB, free: 71.84 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001174/0.5096, allocations: 492.8 kB / 0.5361 GB, free: 71.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.5097, allocations: 24.16 kB / 0.5362 GB, free: 71.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.5109, allocations: 0.5302 MB / 0.5367 GB, free: 71.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.5109, allocations: 6.531 kB / 0.5367 GB, free: 71.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.5109, allocations: 1.375 kB / 0.5367 GB, free: 71.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5109, allocations: 1.5 kB / 0.5367 GB, free: 71.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.5115, allocations: 451.8 kB / 0.5371 GB, free: 71.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5115, allocations: 1.125 kB / 0.5371 GB, free: 71.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.5117, allocations: 48.92 kB / 0.5372 GB, free: 71.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005453/0.5123, allocations: 154.7 kB / 0.5373 GB, free: 71.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.5123, allocations: 1.969 kB / 0.5373 GB, free: 71.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003087/0.5154, allocations: 4.164 MB / 0.5414 GB, free: 67.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.5154, allocations: 0.75 kB / 0.5414 GB, free: 67.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.5172, allocations: 0.5877 MB / 0.542 GB, free: 67.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.5174, allocations: 117.9 kB / 0.5421 GB, free: 67.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/0.5174, allocations: 0 / 0.5421 GB, free: 67.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.5178, allocations: 3.094 kB / 0.5421 GB, free: 67.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/0.5179, allocations: 22.47 kB / 0.5421 GB, free: 67.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.518, allocations: 12.64 kB / 0.5421 GB, free: 67.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002557/0.5182, allocations: 182.6 kB / 0.5423 GB, free: 67.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5183, allocations: 0 / 0.5423 GB, free: 67.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008958/0.5192, allocations: 103.9 kB / 0.5424 GB, free: 67.48 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 (26): * Single equations (assignments): 23 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002208/0.5214, allocations: 1.138 MB / 0.5435 GB, free: 66.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.5236, allocations: 0.7565 MB / 0.5442 GB, free: 66.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.5236, allocations: 4 kB / 0.5442 GB, free: 66.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.525, allocations: 0.5363 MB / 0.5448 GB, free: 66.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.5254, allocations: 7.938 kB / 0.5448 GB, free: 66.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.5266, allocations: 417.6 kB / 0.5452 GB, free: 65.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.5269, allocations: 0.7589 MB / 0.5459 GB, free: 65.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002552/0.5271, allocations: 39.81 kB / 0.5459 GB, free: 65.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.5273, allocations: 75.28 kB / 0.546 GB, free: 65.09 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5273, allocations: 3.938 kB / 0.546 GB, free: 65.08 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.5564, allocations: 5.945 MB / 0.5518 GB, free: 63.16 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.5567, allocations: 132.3 kB / 0.552 GB, free: 62.97 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/2.385, allocations: 0 / 0.552 GB, free: 62.97 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)