Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.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.OneEmergencySourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneEmergencySourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneEmergencySourceTwoLinesOneLoad",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.001389/0.001389, allocations: 176.7 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.393/1.393, allocations: 221.5 MB / 230 MB, free: 7.594 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.000893/0.0008932, allocations: 93.73 kB / 280.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03854/0.03854, allocations: 8.102 MB / 339.8 MB, free: 7.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.203e-05/2.21e-05, allocations: 3.125 kB / 398.6 MB, free: 49.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 52.53 MB / 451.1 MB, free: 5.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.2263, allocations: 78.52 MB / 0.5172 GB, free: 6.777 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.2266, allocations: 59.97 kB / 0.5173 GB, free: 6.719 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2393/0.4659, allocations: 7.642 MB / 0.5247 GB, free: 77.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4659, allocations: 0 / 0.5247 GB, free: 77.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.466, allocations: 2.781 kB / 0.5247 GB, free: 77.97 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00141/0.4674, allocations: 0.6025 MB / 0.5253 GB, free: 77.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.4674, allocations: 11.89 kB / 0.5253 GB, free: 77.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.4675, allocations: 31.12 kB / 0.5253 GB, free: 77.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.4679, allocations: 259.4 kB / 0.5256 GB, free: 77.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.4679, allocations: 5.812 kB / 0.5256 GB, free: 77.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.468, allocations: 14.09 kB / 0.5256 GB, free: 77.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005155/0.4685, allocations: 231.2 kB / 0.5258 GB, free: 77.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.469, allocations: 234.9 kB / 0.5261 GB, free: 77.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.4691, allocations: 1.5 kB / 0.5261 GB, free: 77.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.4691, allocations: 0 / 0.5261 GB, free: 77.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.4691, allocations: 12.27 kB / 0.5261 GB, free: 77.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.4709, allocations: 1.179 MB / 0.5272 GB, free: 76.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.4714, allocations: 284.5 kB / 0.5275 GB, free: 76.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.4716, allocations: 150.5 kB / 0.5276 GB, free: 76.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.4718, allocations: 96.27 kB / 0.5277 GB, free: 76.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003591/0.4721, allocations: 203 kB / 0.5279 GB, free: 76.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.924e-06/0.4722, allocations: 3.938 kB / 0.5279 GB, free: 76.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001781/0.4739, allocations: 0.5682 MB / 0.5285 GB, free: 76.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.474, allocations: 56.31 kB / 0.5285 GB, free: 76.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.4742, allocations: 163.7 kB / 0.5287 GB, free: 76.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.4742, allocations: 27.08 kB / 0.5287 GB, free: 76.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.4743, allocations: 120.3 kB / 0.5288 GB, free: 76.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.4743, allocations: 96.94 kB / 0.5289 GB, free: 76.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.4744, allocations: 0 / 0.5289 GB, free: 76.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.4745, allocations: 337.8 kB / 0.5292 GB, free: 75.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.4747, allocations: 114.5 kB / 0.5294 GB, free: 75.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.4749, allocations: 145.7 kB / 0.5295 GB, free: 75.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.4753, allocations: 156 kB / 0.5296 GB, free: 75.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4753, allocations: 0.6562 kB / 0.5296 GB, free: 75.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001679/0.477, allocations: 0.5798 MB / 0.5302 GB, free: 75.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.477, allocations: 5.312 kB / 0.5302 GB, free: 75.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.477, allocations: 1.734 kB / 0.5302 GB, free: 75.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.4786, allocations: 306.1 kB / 0.5305 GB, free: 75.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.4789, allocations: 40 kB / 0.5305 GB, free: 75.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003296/0.4822, allocations: 2.269 MB / 0.5328 GB, free: 74.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.4824, allocations: 16.05 kB / 0.5328 GB, free: 74.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.4824, allocations: 11.69 kB / 0.5328 GB, free: 74.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.4826, allocations: 107.2 kB / 0.5329 GB, free: 74.24 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00183/0.4844, allocations: 0.5553 MB / 0.5334 GB, free: 74.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.4845, allocations: 22.62 kB / 0.5335 GB, free: 74.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.4864, allocations: 0.6385 MB / 0.5341 GB, free: 74.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.4864, allocations: 6.984 kB / 0.5341 GB, free: 74.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-06/0.4864, allocations: 1 kB / 0.5341 GB, free: 74.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.4865, allocations: 1.969 kB / 0.5341 GB, free: 74.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.487, allocations: 393 kB / 0.5345 GB, free: 73.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.487, allocations: 2.812 kB / 0.5345 GB, free: 73.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.4872, allocations: 45.56 kB / 0.5345 GB, free: 73.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.4887, allocations: 300.5 kB / 0.5348 GB, free: 73.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.4887, allocations: 2.906 kB / 0.5348 GB, free: 73.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003398/0.4921, allocations: 2.273 MB / 0.537 GB, free: 72.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.4922, allocations: 1.094 kB / 0.537 GB, free: 72.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.4939, allocations: 0.6179 MB / 0.5376 GB, free: 72.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.494, allocations: 102.5 kB / 0.5377 GB, free: 72.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.4941, allocations: 0.9688 kB / 0.5377 GB, free: 72.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.4943, allocations: 15.11 kB / 0.5377 GB, free: 72.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/0.4944, allocations: 24.58 kB / 0.5378 GB, free: 72.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.4944, allocations: 19.06 kB / 0.5378 GB, free: 72.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.4946, allocations: 134 kB / 0.5379 GB, free: 72.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4946, allocations: 3.938 kB / 0.5379 GB, free: 72.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006105/0.4952, allocations: 86.16 kB / 0.538 GB, free: 72.36 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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 {3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002086/0.4973, allocations: 1.16 MB / 0.5391 GB, free: 71.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.4987, allocations: 495.5 kB / 0.5396 GB, free: 71.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4988, allocations: 0.5625 kB / 0.5396 GB, free: 71.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007996/0.4996, allocations: 360.4 kB / 0.5399 GB, free: 71.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.4998, allocations: 16.67 kB / 0.54 GB, free: 71.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007943/0.5006, allocations: 351.1 kB / 0.5403 GB, free: 71.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.5009, allocations: 0.7578 MB / 0.541 GB, free: 70.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.501, allocations: 35.91 kB / 0.5411 GB, free: 70.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5011, allocations: 66.83 kB / 0.5411 GB, free: 70.62 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5011, allocations: 0 / 0.5411 GB, free: 70.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.5257, allocations: 7.13 MB / 0.5481 GB, free: 67.5 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.526, allocations: 141.9 kB / 0.5482 GB, free: 67.31 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.34, allocations: 1.688 kB / 0.5482 GB, free: 67.31 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneEmergencySourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneEmergencySourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1)