Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009538/0.0009538, allocations: 87.67 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 162 kB / 24.26 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9298/0.9298, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2195/0.2195, allocations: 29.42 MB / 290.5 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.474e-05, allocations: 2.312 kB / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.003899/0.003913, allocations: 4.487 MB / 372.9 MB, free: 7.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.005439, allocations: 1.262 MB / 374.1 MB, free: 6.035 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.005605, allocations: 19.81 kB / 374.1 MB, free: 6.016 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007062/0.006312, allocations: 394.3 kB / 374.5 MB, free: 5.629 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.006708, allocations: 258.4 kB / 374.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.007033, allocations: 175.4 kB / 375 MB, free: 5.203 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.007484, allocations: 0.5799 MB / 375.5 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.007803, allocations: 225.5 kB / 375.8 MB, free: 4.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.008249, allocations: 350.9 kB / 376.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.008571, allocations: 259.2 kB / 376.4 MB, free: 3.805 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.008606, allocations: 32 kB / 376.4 MB, free: 3.773 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.008811, allocations: 135.7 kB / 376.5 MB, free: 3.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.008951, allocations: 195.5 kB / 376.7 MB, free: 3.449 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.009147, allocations: 151.7 kB / 376.9 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.009591, allocations: 0.5101 MB / 377.4 MB, free: 2.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.009594, allocations: 3.984 kB / 377.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.009595, allocations: 0 / 377.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.009602, allocations: 0 / 377.4 MB, free: 2.785 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0007771/0.01038, allocations: 0.6272 MB / 378 MB, free: 2.125 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.01042, allocations: 15.98 kB / 378 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.237e-05/0.01049, allocations: 78.72 kB / 378.1 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.01088, allocations: 124.6 kB / 378.2 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.01147, allocations: 371.9 kB / 378.6 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.01149, allocations: 25.38 kB / 378.6 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.175e-05/0.01158, allocations: 44.69 kB / 378.6 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.01205, allocations: 476.8 kB / 379.1 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.01206, allocations: 3.938 kB / 379.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.01208, allocations: 16 kB / 379.1 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/0.01214, allocations: 28.98 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003445/0.01249, allocations: 331.7 kB / 379.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.0138, allocations: 1.463 MB / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.01401, allocations: 141.1 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.956e-05/0.01411, allocations: 97.73 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.01413, allocations: 0 / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.01416, allocations: 38.56 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 3.467e-06/0.01416, allocations: 3.984 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001056/0.01521, allocations: 0.7339 MB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.01527, allocations: 77.11 kB / 382 MB, free: 13.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.01549, allocations: 312.5 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.01551, allocations: 25.7 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.01562, allocations: 260 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.01565, allocations: 63.47 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.01572, allocations: 61.94 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.0158, allocations: 338.8 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.01591, allocations: 96.22 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.01605, allocations: 193.5 kB / 383.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.01632, allocations: 323.7 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01632, allocations: 0 / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005724/0.01689, allocations: 469.9 kB / 384.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.01691, allocations: 4 kB / 384.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003513/0.01726, allocations: 288.8 kB / 384.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.01753, allocations: 120.8 kB / 384.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.01771, allocations: 67.97 kB / 384.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.01956, allocations: 2.257 MB / 386.8 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.01966, allocations: 15.98 kB / 386.9 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.01968, allocations: 12 kB / 386.9 MB, free: 8.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.0198, allocations: 197.6 kB / 387.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.01984, allocations: 35.75 kB / 387.1 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.02011, allocations: 249.4 kB / 387.3 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.02011, allocations: 8 kB / 387.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.02011, allocations: 0 / 387.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.02012, allocations: 0 / 387.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.02077, allocations: 0.6678 MB / 388 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02078, allocations: 0 / 388 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.02089, allocations: 39.91 kB / 388.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.147e-05/0.02095, allocations: 32.91 kB / 388.1 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.02096, allocations: 8 kB / 388.1 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007713/0.02173, allocations: 1.477 MB / 389.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02174, allocations: 0 / 389.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/0.02232, allocations: 442.6 kB / 390 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.02234, allocations: 23.81 kB / 390 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.02237, allocations: 12.03 kB / 390 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.02245, allocations: 11.94 kB / 390.1 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.02247, allocations: 19.91 kB / 390.1 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.02248, allocations: 4 kB / 390.1 MB, free: 5.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.02262, allocations: 215.1 kB / 390.3 MB, free: 5.133 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02262, allocations: 0 / 390.3 MB, free: 5.133 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003031/0.02292, allocations: 88 kB / 390.4 MB, free: 5.047 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005549/0.02348, allocations: 0.9632 MB / 391.3 MB, free: 4.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005238/0.024, allocations: 388.8 kB / 391.7 MB, free: 3.664 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.024, allocations: 256 / 391.7 MB, free: 3.664 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.02419, allocations: 227.3 kB / 391.9 MB, free: 3.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.02449, allocations: 64.98 kB / 392 MB, free: 3.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.02752, allocations: 3.453 MB / 395.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.0277, allocations: 240.9 kB / 395.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.02782, allocations: 58.92 kB / 395.8 MB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.02794, allocations: 128.5 kB / 395.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.02794, allocations: 0 / 395.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.05032, allocations: 8.296 MB / 404.2 MB, free: 7.102 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.058, allocations: 9.828 kB / 404.2 MB, free: 7.094 MB / 378.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.939926767721772] Failed to read output from testmodel.py, exit status != 0: 8.149523723870516 8.159466216 8.148098625 Calling exit ...