Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",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.001128/0.001128, 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.373/1.373, allocations: 221.5 MB / 230 MB, free: 7.586 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.0008859/0.0008859, allocations: 95.19 kB / 280.9 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04556/0.04556, allocations: 8.1 MB / 339.7 MB, free: 7.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.405e-05, allocations: 4.609 kB / 398.6 MB, free: 49.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1269, allocations: 52.52 MB / 451.1 MB, free: 5.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.2466, allocations: 79.98 MB / 0.5186 GB, free: 5.219 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/0.2468, allocations: 67.97 kB / 0.5187 GB, free: 5.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2668/0.5137, allocations: 12.36 MB / 0.5307 GB, free: 78.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5137, allocations: 0 / 0.5307 GB, free: 78.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.394e-05/0.5138, allocations: 6.25 kB / 0.5307 GB, free: 78.42 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002937/0.5167, allocations: 0.874 MB / 0.5316 GB, free: 77.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.078e-05/0.5168, allocations: 13.23 kB / 0.5316 GB, free: 77.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.517, allocations: 42.44 kB / 0.5317 GB, free: 77.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.5175, allocations: 339 kB / 0.532 GB, free: 77.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.5176, allocations: 7.594 kB / 0.532 GB, free: 77.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.5176, allocations: 19.81 kB / 0.532 GB, free: 77.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007078/0.5184, allocations: 399.8 kB / 0.5324 GB, free: 77.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000678/0.519, allocations: 432 kB / 0.5328 GB, free: 77.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.5191, allocations: 1.375 kB / 0.5328 GB, free: 77.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.5191, allocations: 0 / 0.5328 GB, free: 77.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.5191, allocations: 7.062 kB / 0.5328 GB, free: 77.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.5219, allocations: 2.071 MB / 0.5348 GB, free: 76.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008303/0.5228, allocations: 0.4937 MB / 0.5353 GB, free: 76.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.5232, allocations: 262.3 kB / 0.5356 GB, free: 76.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.5233, allocations: 94.44 kB / 0.5356 GB, free: 76.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.5234, allocations: 41.5 kB / 0.5357 GB, free: 76.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.5234, allocations: 0 / 0.5357 GB, free: 76.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.003611/0.527, allocations: 1.086 MB / 0.5367 GB, free: 76.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.5271, allocations: 107.4 kB / 0.5369 GB, free: 76.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.5274, allocations: 239.8 kB / 0.5371 GB, free: 75.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.5275, allocations: 26.33 kB / 0.5371 GB, free: 75.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.5276, allocations: 170.3 kB / 0.5373 GB, free: 75.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.5277, allocations: 139 kB / 0.5374 GB, free: 75.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.5277, allocations: 0.5312 kB / 0.5374 GB, free: 75.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.5278, allocations: 342.3 kB / 0.5377 GB, free: 75.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.5282, allocations: 225.7 kB / 0.5379 GB, free: 75.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.5285, allocations: 269.2 kB / 0.5382 GB, free: 75.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006958/0.5293, allocations: 269.2 kB / 0.5385 GB, free: 75.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5293, allocations: 0 / 0.5385 GB, free: 75.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003374/0.5326, allocations: 1.137 MB / 0.5396 GB, free: 74.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.5327, allocations: 9.094 kB / 0.5396 GB, free: 74.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5327, allocations: 0 / 0.5396 GB, free: 74.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003132/0.5359, allocations: 0.67 MB / 0.5402 GB, free: 74.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.5362, allocations: 58.72 kB / 0.5403 GB, free: 74.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005556/0.5417, allocations: 3.636 MB / 0.5438 GB, free: 71.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/0.5423, allocations: 35.3 kB / 0.5439 GB, free: 71.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.5423, allocations: 15.67 kB / 0.5439 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 (31): * Single equations (assignments): 30 * 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 {6 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.5424, allocations: 112.8 kB / 0.544 GB, free: 71.82 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003085/0.5455, allocations: 1.079 MB / 0.545 GB, free: 70.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.5456, allocations: 35.62 kB / 0.5451 GB, free: 70.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/0.5488, allocations: 1.21 MB / 0.5463 GB, free: 69.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5488, allocations: 4 kB / 0.5463 GB, free: 69.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5488, allocations: 0 / 0.5463 GB, free: 69.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5488, allocations: 3.984 kB / 0.5463 GB, free: 69.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/0.5495, allocations: 0.5906 MB / 0.5468 GB, free: 69.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5495, allocations: 0 / 0.5468 GB, free: 69.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.5498, allocations: 59.91 kB / 0.5469 GB, free: 69.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002886/0.5526, allocations: 0.6815 MB / 0.5476 GB, free: 68.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.5527, allocations: 0 / 0.5476 GB, free: 68.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005026/0.5577, allocations: 3.636 MB / 0.5511 GB, free: 64.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5578, allocations: 0 / 0.5511 GB, free: 64.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/0.561, allocations: 1.226 MB / 0.5523 GB, free: 63.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.5611, allocations: 120.5 kB / 0.5524 GB, free: 63.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/0.5612, allocations: 3.984 kB / 0.5524 GB, free: 63.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.5616, allocations: 16.23 kB / 0.5525 GB, free: 63.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.5617, allocations: 44.34 kB / 0.5525 GB, free: 63.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.5617, allocations: 19.98 kB / 0.5525 GB, free: 63.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.5619, allocations: 193.9 kB / 0.5527 GB, free: 62.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5619, allocations: 0 / 0.5527 GB, free: 62.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005404/0.5624, allocations: 143.9 kB / 0.5528 GB, free: 62.79 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 (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 {6 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003366/0.5658, allocations: 1.777 MB / 0.5546 GB, free: 60.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.5676, allocations: 0.836 MB / 0.5554 GB, free: 60.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5677, allocations: 4 kB / 0.5554 GB, free: 60.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.569, allocations: 0.5947 MB / 0.556 GB, free: 59.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.5693, allocations: 23.31 kB / 0.556 GB, free: 59.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009837/0.5703, allocations: 0.5018 MB / 0.5565 GB, free: 58.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.5705, allocations: 0.8056 MB / 0.5573 GB, free: 58.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.5707, allocations: 51.23 kB / 0.5573 GB, free: 58.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.5708, allocations: 115.4 kB / 0.5574 GB, free: 57.98 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5709, allocations: 0 / 0.5574 GB, free: 57.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.602, allocations: 12.61 MB / 0.5697 GB, free: 45.41 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.6023, allocations: 166.8 kB / 0.5699 GB, free: 45.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.08/2.682, allocations: 7.141 kB / 0.5699 GB, free: 45.21 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1)