Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 106.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08088/0.08088, allocations: 16.93 MB / 319.6 MB, free: 9.305 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.89 kB / 446.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.116, allocations: 56.53 MB / 0.4915 GB, free: 3.004 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.2549/0.3708, allocations: 28.81 MB / 0.5197 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.3829, allocations: 8.184 MB / 0.5277 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003845/0.3868, allocations: 62.28 kB / 0.5277 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003492/0.3903, allocations: 1.077 MB / 0.5288 GB, free: 5.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.4012, allocations: 3.736 MB / 0.5324 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004056/0.4052, allocations: 1.391 MB / 0.5338 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01493/0.4202, allocations: 6.491 MB / 0.5401 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.4214, allocations: 266.8 kB / 0.5404 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005582/0.427, allocations: 2.187 MB / 0.5425 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005628/0.4326, allocations: 2.373 MB / 0.5448 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.434, allocations: 255.4 kB / 0.5451 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004274/0.4383, allocations: 0.7402 MB / 0.5458 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.4394, allocations: 0.6685 MB / 0.5464 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005141/0.4445, allocations: 2.072 MB / 0.5485 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00939/0.4539, allocations: 4.721 MB / 0.5531 GB, free: 6.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4539, allocations: 0 / 0.5531 GB, free: 6.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4539, allocations: 0 / 0.5531 GB, free: 6.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000185/0.4541, allocations: 0 / 0.5531 GB, free: 6.887 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 664 * Number of variables: 664 Notification: Performance of Generate backend data structure: time 0.02414/0.4782, allocations: 6.081 MB / 0.559 GB, free: 3.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4783, allocations: 11.41 kB / 0.559 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003496/0.4818, allocations: 0.5542 MB / 0.5596 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007188/0.489, allocations: 2.199 MB / 0.5617 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.4893, allocations: 209.6 kB / 0.5619 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000781/0.49, allocations: 264.4 kB / 0.5622 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007201/0.4972, allocations: 3.172 MB / 0.5653 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.263e-05/0.4973, allocations: 20.69 kB / 0.5653 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004421/0.4978, allocations: 124 kB / 0.5654 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.337e-05/0.4979, allocations: 72 kB / 0.5655 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005113/0.503, allocations: 2.525 MB / 0.5679 GB, free: 10.38 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03052/0.5335, allocations: 20.53 MB / 0.588 GB, free: 4.918 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005631/0.5391, allocations: 2.344 MB / 0.5903 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.5408, allocations: 0.8285 MB / 0.5911 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.541, allocations: 41.98 kB / 0.5911 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.647e-05/0.541, allocations: 60.56 kB / 0.5912 GB, free: 1.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=252): time 6.191e-06/0.541, allocations: 1.078 kB / 0.5912 GB, free: 1.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.02179/0.5628, allocations: 5.969 MB / 0.597 GB, free: 11.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/0.5629, allocations: 81.39 kB / 0.5971 GB, free: 11.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006201/0.5691, allocations: 2.946 MB / 0.6 GB, free: 8.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004304/0.5695, allocations: 77.7 kB / 0.6 GB, free: 8.512 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001805/0.5713, allocations: 1.452 MB / 0.6015 GB, free: 7.047 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001793/0.5731, allocations: 1.05 MB / 0.6025 GB, free: 5.988 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004414/0.5776, allocations: 1.525 MB / 0.604 GB, free: 4.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5777, allocations: 301.1 kB / 0.6043 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004418/0.5821, allocations: 2.075 MB / 0.6063 GB, free: 2.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004874/0.587, allocations: 2.748 MB / 0.609 GB, free: 15.24 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00715/0.5941, allocations: 3.971 MB / 0.6128 GB, free: 11.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.285e-05/0.5942, allocations: 4 kB / 0.6129 GB, free: 11.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01432/0.6085, allocations: 6.97 MB / 0.6197 GB, free: 4.086 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.6085, allocations: 11.98 kB / 0.6197 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/0.6086, allocations: 4 kB / 0.6197 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002691/0.6112, allocations: 0.9319 MB / 0.6206 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006654/0.6179, allocations: 1.662 MB / 0.6222 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.6303, allocations: 7.013 MB / 0.6291 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008304/0.6386, allocations: 0.555 MB / 0.6296 GB, free: 9.754 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/0.6402, allocations: 264 kB / 0.6299 GB, free: 9.496 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 7 (bus.isSlackBus,slack.isSlackBus,load4.isSlackBus,load3.isSlackBus,load2.isSlackBus,load1.isSlackBus,bus2.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1034): * Single equations (assignments): 1032 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(8,56)} Notification: Performance of prepare postOptimizeDAE: time 0.002657/0.6429, allocations: 0.6759 MB / 0.6305 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/0.644, allocations: 365.8 kB / 0.6309 GB, free: 8.449 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005483/0.6495, allocations: 2.655 MB / 0.6335 GB, free: 5.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.783e-05/0.6495, allocations: 24 kB / 0.6335 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6495, allocations: 4 kB / 0.6335 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/0.6495, allocations: 11.95 kB / 0.6335 GB, free: 5.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.6603, allocations: 5.511 MB / 0.6389 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.6604, allocations: 3.938 kB / 0.6389 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.6619, allocations: 375.6 kB / 0.6392 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00236/0.6643, allocations: 0.7403 MB / 0.64 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/0.6645, allocations: 48 kB / 0.64 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/0.6755, allocations: 6.783 MB / 0.6466 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6755, allocations: 1.484 kB / 0.6466 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006123/0.6816, allocations: 2.745 MB / 0.6493 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002884/0.6845, allocations: 0.7209 MB / 0.65 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008264/0.6853, allocations: 39.98 kB / 0.6501 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/0.688, allocations: 115.9 kB / 0.6502 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003364/0.6884, allocations: 149.7 kB / 0.6503 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/0.6885, allocations: 79.97 kB / 0.6504 GB, free: 4.109 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002924/0.6915, allocations: 1.766 MB / 0.6521 GB, free: 2.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6915, allocations: 4 kB / 0.6521 GB, free: 2.344 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005229/0.6967, allocations: 1.613 MB / 0.6537 GB, free: 0.7305 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(8,56)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006173/0.6973, allocations: 295.5 kB / 0.654 GB, free: 444 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009112/0.7064, allocations: 4.459 MB / 0.6583 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.7064, allocations: 0.8125 kB / 0.6583 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002834/0.7093, allocations: 1.456 MB / 0.6597 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/0.7124, allocations: 253.3 kB / 0.66 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009116/0.7216, allocations: 4.651 MB / 0.6645 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.7233, allocations: 1.73 MB / 0.6662 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002635/0.726, allocations: 0.5544 MB / 0.6668 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006871/0.7266, allocations: 243.4 kB / 0.667 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of SimCode: time 1.542e-06/0.7266, allocations: 0 / 0.667 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of Templates: time 0.08364/0.8103, allocations: 46.35 MB / 0.7123 GB, free: 4.664 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 7.470700358971953] Failed to read output from testmodel.py, exit status != 0: 0.8197524873539805 1.033623593 0.57696477 Calling exit ...