Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",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.001713/0.001713, allocations: 182.3 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 221.4 MB / 235.1 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009377/0.0009376, allocations: 96.3 kB / 286.1 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05888/0.05888, allocations: 8.105 MB / 345.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.476e-05, allocations: 0 / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 52.52 MB / 458.1 MB, free: 9.363 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.421/0.5283, allocations: 78.69 MB / 0.5242 GB, free: 7.281 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.5285, allocations: 55.17 kB / 0.5242 GB, free: 7.258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01189/0.5404, allocations: 4.864 MB / 0.529 GB, free: 3.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5405, allocations: 3.938 kB / 0.529 GB, free: 3.359 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.5405, allocations: 7.938 kB / 0.529 GB, free: 3.352 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008532/0.5414, allocations: 453.9 kB / 0.5294 GB, free: 2.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.5414, allocations: 8.031 kB / 0.5294 GB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.421e-05/0.5415, allocations: 54.3 kB / 0.5295 GB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.5416, allocations: 15.86 kB / 0.5295 GB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.5419, allocations: 214.8 kB / 0.5297 GB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.5419, allocations: 7.5 kB / 0.5297 GB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.5419, allocations: 12.25 kB / 0.5297 GB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.5422, allocations: 150.3 kB / 0.5299 GB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5423, allocations: 0 / 0.5299 GB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.5423, allocations: 7.984 kB / 0.5299 GB, free: 2.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.5423, allocations: 7.953 kB / 0.5299 GB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.5425, allocations: 109.1 kB / 0.53 GB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009132/0.5435, allocations: 0.5352 MB / 0.5305 GB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008171/0.5443, allocations: 147.2 kB / 0.5306 GB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.937e-05/0.5444, allocations: 39.8 kB / 0.5307 GB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.5445, allocations: 85.09 kB / 0.5308 GB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.5446, allocations: 37.38 kB / 0.5308 GB, free: 1.598 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.5446, allocations: 0 / 0.5308 GB, free: 1.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000635/0.5452, allocations: 173.4 kB / 0.531 GB, free: 1.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.5453, allocations: 51.41 kB / 0.531 GB, free: 1.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.5454, allocations: 124.9 kB / 0.5311 GB, free: 1.273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.5455, allocations: 29.7 kB / 0.5312 GB, free: 1.238 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.5456, allocations: 125.9 kB / 0.5313 GB, free: 1.121 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.5456, allocations: 27.25 kB / 0.5313 GB, free: 1.098 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.5456, allocations: 4 kB / 0.5313 GB, free: 1.094 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.5458, allocations: 326.2 kB / 0.5316 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-05/0.5459, allocations: 25.44 kB / 0.5317 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.078e-05/0.5459, allocations: 46.89 kB / 0.5317 GB, free: 0.7148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/0.546, allocations: 26.12 kB / 0.5317 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.546, allocations: 0 / 0.5317 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004607/0.5465, allocations: 179.9 kB / 0.5319 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5465, allocations: 4 kB / 0.5319 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.5465, allocations: 4 kB / 0.5319 GB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00046/0.547, allocations: 82.58 kB / 0.532 GB, free: 480 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.526e-05/0.5471, allocations: 8 kB / 0.532 GB, free: 472 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.549, allocations: 1.529 MB / 0.5335 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/0.5491, allocations: 7.844 kB / 0.5335 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.5491, allocations: 4 kB / 0.5335 GB, free: 14.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.855e-05/0.5492, allocations: 106 kB / 0.5336 GB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.5493, allocations: 15.78 kB / 0.5336 GB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005397/0.5498, allocations: 206.5 kB / 0.5338 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.5498, allocations: 0 / 0.5338 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.5498, allocations: 144 / 0.5338 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5498, allocations: 3.984 kB / 0.5338 GB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.5501, allocations: 225.5 kB / 0.534 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5501, allocations: 0 / 0.534 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/0.5502, allocations: 19.62 kB / 0.534 GB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003302/0.5505, allocations: 70.58 kB / 0.5341 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.5505, allocations: 7.875 kB / 0.5341 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.5522, allocations: 1.519 MB / 0.5356 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.5522, allocations: 0 / 0.5356 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005137/0.5527, allocations: 285.2 kB / 0.5359 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.5528, allocations: 81.02 kB / 0.5359 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.5528, allocations: 0 / 0.5359 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.5529, allocations: 15.02 kB / 0.536 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.553, allocations: 7.984 kB / 0.536 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.553, allocations: 10.88 kB / 0.536 GB, free: 12.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.815e-05/0.5531, allocations: 99.28 kB / 0.5361 GB, free: 12.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5531, allocations: 4 kB / 0.5361 GB, free: 12.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003319/0.5534, allocations: 49.97 kB / 0.5361 GB, free: 12.27 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 (8): * Single equations (assignments): 7 * 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 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009898/0.5544, allocations: 0.8225 MB / 0.5369 GB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.555, allocations: 227.6 kB / 0.5371 GB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.555, allocations: 0 / 0.5371 GB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.5553, allocations: 196.7 kB / 0.5373 GB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.5555, allocations: 7.438 kB / 0.5373 GB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/0.556, allocations: 200.6 kB / 0.5375 GB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.5564, allocations: 0.7121 MB / 0.5382 GB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.5564, allocations: 16.8 kB / 0.5382 GB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.5565, allocations: 37.17 kB / 0.5383 GB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5565, allocations: 0 / 0.5383 GB, free: 10.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.5749, allocations: 3.274 MB / 0.5415 GB, free: 6.922 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/0.5753, allocations: 148.4 kB / 0.5416 GB, free: 6.699 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.257, allocations: 0 / 0.5416 GB, free: 6.699 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OnePerfectLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1)