Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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.001055/0.001055, allocations: 92.33 kB / 20.95 MB, free: 3.48 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.0008578/0.0008578, allocations: 161.3 kB / 24.25 MB, free: 184 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.8715/0.8715, allocations: 177.2 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.2049/0.2049, allocations: 29.42 MB / 290.5 MB, free: 2.426 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.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 368.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.421e-05, allocations: 2.312 kB / 368.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.004549/0.004573, allocations: 4.986 MB / 373.4 MB, free: 6.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.006793, allocations: 1.682 MB / 375.1 MB, free: 5.102 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002958/0.007089, allocations: 19.81 kB / 375.1 MB, free: 5.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008429/0.007932, allocations: 429.9 kB / 375.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005312/0.008463, allocations: 310.1 kB / 375.8 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007797/0.009242, allocations: 390.9 kB / 376.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006073/0.00985, allocations: 0.7671 MB / 377 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004028/0.01025, allocations: 298.3 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004658/0.01072, allocations: 450.7 kB / 377.7 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000423/0.01114, allocations: 435 kB / 378.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/0.0112, allocations: 52 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.01147, allocations: 183.7 kB / 378.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.01165, allocations: 307.2 kB / 378.6 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.01181, allocations: 231.5 kB / 378.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006671/0.01248, allocations: 0.8451 MB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.01249, allocations: 0 / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.01249, allocations: 0 / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.0125, allocations: 0 / 379.7 MB, free: 444 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001101/0.0136, allocations: 0.8531 MB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.01364, allocations: 19.97 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.758e-05/0.01372, allocations: 94.7 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007136/0.01443, allocations: 228.3 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.01504, allocations: 0.4967 MB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.01506, allocations: 33.38 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.01528, allocations: 144.1 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007563/0.01604, allocations: 0.8548 MB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.01605, allocations: 3.938 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.01609, allocations: 23.98 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000224/0.01632, allocations: 68.94 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/0.01695, allocations: 0.6205 MB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002777/0.01973, allocations: 3.592 MB / 386.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/0.02043, allocations: 0.519 MB / 387.3 MB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.02073, allocations: 311.1 kB / 387.6 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.02077, allocations: 12.5 kB / 387.6 MB, free: 8.277 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.0208, allocations: 35.06 kB / 387.6 MB, free: 8.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.895e-06/0.0208, allocations: 4 kB / 387.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.002072/0.02287, allocations: 1.796 MB / 389.4 MB, free: 6.398 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.02291, allocations: 81.73 kB / 389.5 MB, free: 6.301 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.02322, allocations: 433.7 kB / 389.9 MB, free: 5.871 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.02325, allocations: 37.7 kB / 389.9 MB, free: 5.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.02341, allocations: 332.5 kB / 390.3 MB, free: 5.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.02352, allocations: 210.3 kB / 390.5 MB, free: 5.293 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.02366, allocations: 150.2 kB / 390.6 MB, free: 5.141 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.02377, allocations: 370.8 kB / 391 MB, free: 4.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.02414, allocations: 373.5 kB / 391.3 MB, free: 4.402 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.0246, allocations: 0.6019 MB / 391.9 MB, free: 3.707 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008677/0.02547, allocations: 1.062 MB / 393 MB, free: 2.547 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.02547, allocations: 7.938 kB / 393 MB, free: 2.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002576/0.02805, allocations: 2.002 MB / 395 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.02807, allocations: 8 kB / 395 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.02808, allocations: 12.03 kB / 395 MB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.02943, allocations: 0.9525 MB / 396 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.02968, allocations: 123.8 kB / 396.1 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006766/0.03645, allocations: 7.967 MB / 404.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/0.03682, allocations: 35.92 kB / 404.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/0.03689, allocations: 44.05 kB / 404.2 MB, free: 7.141 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003004/0.03719, allocations: 245.5 kB / 404.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/0.03727, allocations: 67.67 kB / 404.5 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008151/0.03809, allocations: 0.7232 MB / 405.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.0381, allocations: 7.938 kB / 405.2 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.0381, allocations: 0 / 405.2 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.0381, allocations: 3.984 kB / 405.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.03967, allocations: 1.432 MB / 406.6 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.03967, allocations: 0 / 406.6 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/0.04024, allocations: 183.9 kB / 406.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.04024, allocations: 7.938 kB / 406.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/0.04029, allocations: 31.98 kB / 406.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.04029, allocations: 3.984 kB / 406.9 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.04029, allocations: 7.938 kB / 406.9 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009634/0.04126, allocations: 1.003 MB / 407.9 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.04132, allocations: 55.53 kB / 407.9 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.04138, allocations: 32.12 kB / 407.9 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.04156, allocations: 23.97 kB / 408 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.04161, allocations: 40.42 kB / 408 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.04164, allocations: 16 kB / 408 MB, free: 3.172 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002133/0.04185, allocations: 279.1 kB / 408.3 MB, free: 2.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04185, allocations: 0 / 408.3 MB, free: 2.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005938/0.04244, allocations: 215.9 kB / 408.5 MB, free: 2.688 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/0.04364, allocations: 1.579 MB / 410.1 MB, free: 1.066 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.04533, allocations: 1.415 MB / 411.5 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.04533, allocations: 4 kB / 411.5 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.04563, allocations: 298.7 kB / 411.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.04613, allocations: 132.6 kB / 411.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009804/0.05593, allocations: 9.32 MB / 421.2 MB, free: 5.566 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.05624, allocations: 390.6 kB / 421.6 MB, free: 5.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003912/0.05663, allocations: 200.6 kB / 421.8 MB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.05689, allocations: 232.4 kB / 422.1 MB, free: 4.734 MB / 394.7 MB Notification: Performance of SimCode: time 1.372e-06/0.05689, allocations: 0 / 422.1 MB, free: 4.734 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03932/0.09621, allocations: 18.99 MB / 441 MB, free: 1.934 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/7.458, allocations: 8 kB / 441 MB, free: 1.926 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line_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_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.312134118750691] Failed to read output from testmodel.py, exit status != 0: 7.5492037627846 7.707738661 7.693658401 Calling exit ...